Internet Explorer

Changing type attribute in IE

Tuesday, August 26th, 2008 | JavaScript | 5 Comments

I never had noticed this before, but a little while ago I found out that changing the type attribute on an input box doesn’t work in Internet Explorer. Not in IE6 and even not in IE7.
I tried element.type=”text”; and element.setAttribute(”type”, “text”); but both methods didn’t work. Strange, because these methods won’t give any problems for [...]

Tags: ,

About Arjan

Arjan Snaterse Hi, I'm Arjan Snaterse and in my daily life I'm working as SEO and Frontend manager at Jaludo. There I'm working on casual gaming sites like Funny games and Titter girl games.

In my spare time I'm developing websites in Wordpress or Typolight. HTML standards, semantics and CSS are words that make me happy. So if you need someone who converts your design (PSD) to HTML/Wordpress just contact me.