document.getElementById(ID).all not working with firefox 3.0
-
Hi I am implementing document.getElementById(ID).all to get all the data (working fine with IE :) ) but unfortunately Firefox 3.0 :( doesn't support this. anybody has done a workaround for this please reply. :doh: Thanks
Dinesh Sharma
-
Hi I am implementing document.getElementById(ID).all to get all the data (working fine with IE :) ) but unfortunately Firefox 3.0 :( doesn't support this. anybody has done a workaround for this please reply. :doh: Thanks
Dinesh Sharma
document.getElementById(ID).all to get all the data get all the data ? mean what, do you want to get the Value of that control ? If yes then use
document.getElementById(ID).value
That would be work for all browser.
Parwej Ahamad g.parwez@gmail.com
-
document.getElementById(ID).all to get all the data get all the data ? mean what, do you want to get the Value of that control ? If yes then use
document.getElementById(ID).value
That would be work for all browser.
Parwej Ahamad g.parwez@gmail.com
Thanks Parwej The Id here is a table that contains multiple rows like grid so by using all i am getting all the rows ... for this control value is not supported
Dinesh Sharma
-
Thanks Parwej The Id here is a table that contains multiple rows like grid so by using all i am getting all the rows ... for this control value is not supported
Dinesh Sharma
Ok, Can you try like as below:
var myTable=document.getElementById(ID);
Then access all rows from myTable object.
Parwej Ahamad g.parwez@gmail.com
-
Ok, Can you try like as below:
var myTable=document.getElementById(ID);
Then access all rows from myTable object.
Parwej Ahamad g.parwez@gmail.com
it will return an object ....its ok. but which property will return the number of rows.... I tried the rows property but its not returning all the rows.
Dinesh Sharma
-
it will return an object ....its ok. but which property will return the number of rows.... I tried the rows property but its not returning all the rows.
Dinesh Sharma
http://www.tek-tips.com/viewthread.cfm?qid=1502722&page=9[^] Go through above link or search on google you will found may samplles.
Parwej Ahamad g.parwez@gmail.com