Disable text input

JavaScript and client side scripting.

Moderator: General Moderators

vchris
Forum Contributor
Posts: 204
Joined: Tue Aug 30, 2005 7:53 pm
Location: Canada, Quebec

Post by vchris »

I've tried and doesn't work...
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

dunno what to tell you, if you did what I said to do, it should work:

you can see mine working here:

http://69.16.148.110/test.htm
vchris
Forum Contributor
Posts: 204
Joined: Tue Aug 30, 2005 7:53 pm
Location: Canada, Quebec

Post by vchris »

I also did some testing like that and it worked but not on my page...

The thing is it's about a hockey team. The admin will enter the location of the hockey game. Home game are "Clarence" or "Rockland". I have an if statement and when it sees clarence or rockland it display the text in blue so people know its at home but if it's different its another color. I just want it to minize typing errors.

If you know a better way to do this tell me.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Might try adding id values (same as name values). Think I remember some issue with form values under XHTML Transitional in Firefox or IE6... Long time ago...
vchris
Forum Contributor
Posts: 204
Joined: Tue Aug 30, 2005 7:53 pm
Location: Canada, Quebec

Post by vchris »

I just tried adding IDs and still doesn't work...
Post Reply