Friday, June 02, 2006

Internet Explorer Bugs and our commas

It is always good to read this page if you are a web developer:
We've come to this when we are debugging our web apps, which we found very strange behavior whereby the ASP.NET textbox controls are giving us a comma, and a few more if we are duplicating HTML elements on the fly on the client side.
Well, although we've replaced the id of those elements, the fact is that, IE goes by the name attributes for form submission.

And even more funny is that if you have an element having different ID but same name, try to do a alert(document.getElementById("theid").id); on both element, you might be surprised with the result.

Show my DIV on top of drop down list

For web developers, this is the one that you should read!

Fortunately, FireFox doesn't have this problem and even better is that IE7 fixed it.

"Click to activate this control!"

Notice that when you surf to a site with active content, say flash/java applet, you'll always need to "click to activate this control". As developer, these 2 links will be useful for you.