hi all i am using ajax htmlcontent tag to dynamically display a table body with list of checkboxes. and a select all checkbox. but now the select all is not working. here is the code for select all. iused prototype js .
When i use document.getElementsByName("select_all"), i see the value as undefined in firebug console. i think since the select_all checkbox is dynamically appearing on the page may be firefox is not recognizing it. i changed it to document.getElementById() and it is working in bot IE and firefox. thought it might be usefull to someone