1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    What's the deal with disabling and enabling buttons in javascript when using Netscape? Works fine in IE.

    document.MyForm.MyButton.disabled = true;
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Rep Power
    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.

Similar Threads

  1. Setting focus to a reset button
    By Yonder in forum HTML Programming
    Replies: 12
    Last Post: November 4th, 2004, 10:56 AM
  2. changing the buttons in the message box
    By crackerweb in forum Visual Basic Programming
    Replies: 6
    Last Post: October 23rd, 2003, 06:36 PM
  3. Replies: 0
    Last Post: September 29th, 2003, 11:25 AM
  4. Passing Information to a new page with a submit button
    By GWalnum in forum PHP Development
    Replies: 4
    Last Post: September 1st, 2003, 11:56 AM
  5. Problem with Flash MX button
    By Dr Tim in forum Flash Help
    Replies: 10
    Last Post: July 5th, 2003, 03:02 PM

IMN logo majestic logo threadwatch logo seochat tools logo