ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

form tag appears empty

  • 1 (رد واحد)
  • 4 have this problem
  • 2 views
  • آخر ردّ كتبه 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)

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 /* &lt;![CDATA[ */ function checkAll() { var boxes = document.getElementsByTagName('input'); for(var index = 0; index &lt; boxes.length; index++) { box = boxes[index]; if (box.type == 'checkbox' &amp;&amp; box.className == 'sf_admin_batch_checkbox') box.checked = document.getElementById('sf_admin_list_batch_checkbox').checked } return true; } /* ]]&gt; */ ----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)

All Replies (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