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.

http://channel9.msdn.com/wiki/default.aspx/Channel9.InternetExplorerProgrammingBugs

No comments: