C
cjl
Hey all:
This code:
if (stealth)
{
document.searchme.query.type = 'password';
}
else
{
document.searchme.query.type = 'text';
}
works in FF but not in IE 6. It fails with "Error: Could not get the
type property. This command is not supported."
A previous post mentioned that in IE type is 'read only'.
Are there any work around for changing input type dynamically in IE?
Thanks in advance,
-CJL
This code:
if (stealth)
{
document.searchme.query.type = 'password';
}
else
{
document.searchme.query.type = 'text';
}
works in FF but not in IE 6. It fails with "Error: Could not get the
type property. This command is not supported."
A previous post mentioned that in IE type is 'read only'.
Are there any work around for changing input type dynamically in IE?
Thanks in advance,
-CJL