Datagrid help!
-
Hi all, I have a datagrid with a checkbox item in the header and i'm implementing a "select all" function which when select would select all other checkboxes on the form... i am implementing the selectall function in javascript as such function selectAll(obj) { if (obj.checked==true) { for(i=0; i<(document.forms[0].elements.length); i++) { ... all is working fine but i would like to change the text of the obj checkbox but i cant... i tried obj.text = 'removeAll' but that doesnt work any ideas?
-
Hi all, I have a datagrid with a checkbox item in the header and i'm implementing a "select all" function which when select would select all other checkboxes on the form... i am implementing the selectall function in javascript as such function selectAll(obj) { if (obj.checked==true) { for(i=0; i<(document.forms[0].elements.length); i++) { ... all is working fine but i would like to change the text of the obj checkbox but i cant... i tried obj.text = 'removeAll' but that doesnt work any ideas?