Real Estate Webmasters

All Categories

Some Things to know about IE 7

5 years ago (November 17th, 2006) by REW Steven 0 Comments 1,020 Views
REW Steven

When using javascript in IE 7, you don't need to use getElementById Thus in IE 6 you would do: Code: <script>var city = document.getElementById('city');alert(city.innerHTML);</script> And in IE 7 you can do Code: <script>alert(city.innerHTML);</script> city is automatically an object pointing to the HTML tag with the id of that name. This also means that if you accidentally use a variable with the same name as an id of an element, you will get errors. I'm sure this giv... Read Full Post

Author's Stats
  • Blog Entries: 21
  • Total Views: 19,456
  • Unique Views: 18,900
  • Comments Posted: 15
  • Comments Received: 33
About the Author

REW Steven

250-753-9893

I am the Systems Administrator and a PHP / MySQL Programmer for Real Estate Webmasters. I keep the servers running and code cool features for the ... Read More