View Full Version : getelementbyid

05-28-2005, 08:19 PM
is getelementbyid only for intermet explorer? if not, which browsers support it?

Bill Posters
05-28-2005, 09:12 PM
getElementById (the casing is important when in use) is supported by all modern browsers. In general terms that means MSIE5+, NN5/6+, Opera, Mozilla, Firefox, Safari and other browsers developed during the lifespan of those browsers.

05-28-2005, 10:16 PM
This question was asked only a few days ago.....http://www.codingforums.com/showthread.php?t=59888


05-29-2005, 03:41 AM
yeah getElementById is cross browser.

i think www.w3schools.com has a list of functions and their browser support :thumbsup:

you could also do:
to test if a browser suports that function:

//suports getElementsById
//does not support this function


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum