HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 17th, 1999, 12:48 PM
hoffc
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
What's the deal with disabling and enabling buttons in javascript when using Netscape? Works fine in IE.

document.MyForm.MyButton.disabled = true;

Reply With Quote
  #2  
Old May 28th, 2000, 04:10 PM
rkmarcks rkmarcks is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 81 rkmarcks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to rkmarcks
Disable is not part of the [older] ECMAscript standard. It is unique to IE and unsupported by netscape. Netscape 6.PR1 does support the disable option.

I have had the same problem, so what you can do is use a javascript URL within the onclick option of your radio button to cause an alert dialogue to pop up with whatever message you desire. This is actually kind of slick since IE will recognize the disable and not allow the user to click. Netscape will not recognize the disable but will pop up the alert dialogue preventing the user from 'using' the button.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > disable/enable button


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway