Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2006

Tip: Looking for answers? Try searching our database.

Set the input-type dynamically in IE

Thread view: 
vega80 - 30 Oct 2006 21:29 GMT
Hi.

I have problems with setting the input type of a text-field
dynamically. I create the input-field in the html-code, but have to
change the type from text (<input type='text'...>) to hidden (<input
type='hidden'...>) later. This works in Firefox, but won't work in IE
(gets the error "property is not supported"). Does anyone know a way to
change the input-type dynamically in IE? The reason why I need to do
this, is because I want to hide a input-field the first time the page
is loaded; when the user hits a button a second field is revealed and
the first one will be hidden. I can use element.style.display = 'none',
but I've heard that it bugs in Safari? Anyway, I will be very thankful
for your suggestions.

Greetings
Vega80
vega80 - 30 Oct 2006 21:38 GMT
Ooops...I put this in the wrong subgroup. Sorry. Hope you'll answer it
anyway.

Vega80

vega80 skrev:
> Hi.
>
[quoted text clipped - 12 lines]
> Greetings
> Vega80


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.