Web Analytics Made Easy -
StatCounter keeping writing colour when disabling a form button - CodingForum

Announcement

Collapse
No announcement yet.

keeping writing colour when disabling a form button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • keeping writing colour when disabling a form button

    when i disable a form button in one of my javascripts (by using document.form.submit.disabled = true; ) the writing of the button greys out and becomes hard to read. is there anyway i can disable a form while leaving the writing a normal colour)? in NS6 it works by adding document.form.submit.style.color="black" but it doesnt work for IE - so any suggestions anyone?

    cheers, paul

  • #2
    that would be my only guess, and if it's not working, i'm thinking it's not possible.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

    Comment


    • #3
      I agree with john I don't think you are able to change the color or bgColor of a disabled button.
      CYWebmaster.com - See why we dot com!!
      ACJavascripts.com - Cut & Paste Javascripts!
      SimplyProgram.com - Personal Blog

      Comment

      Working...
      X