Javascript setAttribute() in IE6

Not all cases of the setAttribute() function work in IE6. Take the case of a sample code below

When you click on the link element labeled ‘removed’, it will not work. Later versions of IE do work as well as Mozilla browsers. If you did this kind of code, it would be better for you to write the whole element tag in a span or div’s innerHTML.

Related Posts Plugin for WordPress, Blogger...


Leave a Reply

Your email address will not be published. Required fields are marked *