www.webcodingtech.comCoding Technologies for the Web |
Home | | | Php | | | JavaScript | | | SQL | | | HTML | | | Server Admin | | | Tools | ||
![]() | ||||||||||||||
|
|
Get object by IDIf you've been working with Javascript at all, you've come to use the getElementById method. While this function is a good one for simply getting an object, it's not compatible with all browsers. Today I'm going to show you how to work towards cross-browser compatibility in your JavaScipt code. Just use the following function instead of getElementById(). Cross-browser compatible getElementById() Function
|
|
http://www.webcodingtech.com