Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

form tag appears empty

  • 1 одговор
  • 4 имају овај проблем
  • 3 прегледа
  • Последњи одговор послао 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)

Сви одговори (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