Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] greying out checkboxes
- From: javascript@xxxxxxxxxx (Kipp Spanbauer)
- Subject: [Javascript] greying out checkboxes
- Date: Fri, 20 Dec 2002 09:55:46 -0500
Philip: I had the same question that you did regarding greying out javascript = checkboxes and found my answer on a macromedia website: = http://www.macromedia.com/v1/documents/hs4/html_reference/Forms/input.htm= Basically, all you need is the word "DISABLED" in the along with the = INPUT tag. Example: <input class=3D"formbuttons" DISABLED type=3D"checkbox" name=3D"select" = value=3D"mcp">User=20 must change password at next login<br> That should do it for you. I found your message at: https://lists.latech.edu/pipermail/javascript/2002-April/003356.html Thanks, Kipp Spanbauer kipp.spanbauer@xxxxxxx =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Philip Humeniuk's message read as follows: Hi, I have the following input boxes in my index.htm file. What I would like = to=20 happen is if the user checks the box "User must change password at next=20 login" I want the "User cannot change password" and "Password never=20 expires" checkboxes grayed out and possibly the text also so they cannot = check those. The only other option to check would be the "Account is = disabled" Can this be easilty done with JS? <input class=3D"formbuttons" type=3D"checkbox" name=3D"select" = value=3D"mcp">User=20 must change password at next login<br> <input class=3D"formbuttons" type=3D"checkbox" name=3D"select" = value=3D"ccp">User=20 cannot change password<br> <input class=3D"formbuttons" type=3D"checkbox" name=3D"select"=20 value=3D"pne">Password never expires<br> <input class=3D"formbuttons" type=3D"checkbox" name=3D"select" = value=3D"ad">Account=20 is disabled
- Prev by Date: [Javascript] Esther Strom/McDougal/hmco is out of the office.
- Next by Date: [Javascript] Mac IE oddities with rollover help pop-ups
- Previous by thread: [Javascript] Esther Strom/McDougal/hmco is out of the office.
- Next by thread: [Javascript] Mac IE oddities with rollover help pop-ups
- Index(es):