搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

form tag appears empty

  • 1 回覆
  • 4 有這個問題
  • 最近回覆由 cor-el

more options

I have a form with some controls inside it.. when I load the page and see the source code, the form is correctly there, but, by using firebug, this is shown:


BEFORE----


Eliminar





/* <![CDATA[ */ function checkAll() {

 	var boxes = document.getElementsByTagName('input'); 
 	for(var index = 0; index < boxes.length; index++) 

{ box = boxes[index]; if (box.type == 'checkbox' && box.className == 'sf_admin_batch_checkbox') box.checked = document.getElementById('sf_admin_list_batch_checkbox').checked }

return true; } /* ]]> */





AFTER----

As you see, the form tag appears empty. The correct is that inside form tag is the UL, the TABLE and the HIDDEN fields.

Any help will be appreciated, thanks Jaime

This happened

Every time Firefox opened

User Agent

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

所有回覆 (1)

more options

A good place to ask questions and advice about web development is at the MozillaZine Web Development/Standards Evangelism forum. The helpers at that forum are more knowledgeable about web development issues. You need to register at the MozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25