Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

form tag appears empty

  • 1 odpověď
  • 4 mají tento problém
  • 3 zobrazení
  • Poslední odpověď od 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)

Všechny odpovědi (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