If your'e disabling a button from itself then, 'this.disabled=1' works
in just about everything.
If your'e not, then;
document.formname.fieldname.disabled=1 (this should work in pretty much
any browser)
Or
document.getElementById('fieldname').disabled=1 for more modern
browsers.
You should maybe use true instead of 1, but both should be fine.
-----Original Message-----
From: Thane Sherrington [mailto:[EMAIL PROTECTED]
Sent: 15 September 2003 15:28
To: CF-Talk
Subject: -OT- Javascript - cross browser button disable
I'm looking for a cross browser button disable code. Everything I find
seems to be limited to IE and NN, and since I just added some Mac users
to
my application, I need something for everyone. Any help would be
appreciated.
T
Tired of your bookmarks/favourites being limited to one computer? Move
them to the Net!
www.stuffbythane.com/webfavourites makes it easy to keep all your
favourites in one place and
access them from any computer that's attached to the Internet.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
http://www.fusionauthority.com/ads.cfm