Simple question about disable Selecr element

D

DL

I thought the following syntax would disable a form's selec t element
but it fails IE7 on Windows XP:
document.forms['visaApplication'].elements['Type1'].disabled = true;

Is there something wrong above or ?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top