Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable input type

Status
Not open for further replies.

nomy

Programmer
Jul 20, 1999
23
PK
How to make disable Input type. It is working fine in IE. while we are using browser Netscape.<br><br>Why Netscape disturbs the length of form input types.<br><br>
 
the disable property is not available in the Netscape DOM. Also, Netscape seems to have a hard time altering the asthetcis of form elements.<br><br><A HREF="mailto:jared@aauser.com">jared@aauser.com</A>
 
Just use Javascript to disable:<br><br>&lt;input type=&quot;text&quot; onfocus=&quot;this.blur()&quot;&gt;<br><br>This automatically removes focus from the control whenever the user enters it.
 
yep, I had that in a FAQ... <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
The this.blur is a good was to do it though if you want to dissable 2 such text boxes then if they are next in the zorder then moment this will lose focus the other one will gain and then the loop will start so be a bit careful<br><br>&nbsp;regards <p>Unicorn11<br><a href=mailto:webmaster@tripmedia.com>webmaster@tripmedia.com</a><br><a href= > </a><br>Hi there it all likeminded fellows!!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top