|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Nov 2004
Location: Flint, MI
Posts: 256
|
Disabling a text/input box using VBScript
I have this checkbox that I need to, when checked, disable 5 or 6 textboxes, or make them grayed out. The VB code I know is [textbox name].enabled = false but IE (FF doesn't support vbscript) gives me errors. Does anyone know how to do this? I have a procedure in the head tag called disable() in which I would put something like this: firstName.enabled = false ...
^fo |
|
|
|
|
|
#2 |
|
Professional gadfly
|
What errors are you getting?
|
|
|
|
|
|
#3 |
|
Member (9 bit)
Join Date: Nov 2004
Location: Flint, MI
Posts: 256
|
I think I have all that is behind the algorithim attached.
I had to upload it funny. ^fo |
|
|
|
|
|
#4 |
|
Professional gadfly
|
Would it be possible to upload a text document so we can play around with the code? A picture of the code isn't very useful.
|
|
|
|
|
|
#5 |
|
Member (9 bit)
Join Date: Nov 2004
Location: Flint, MI
Posts: 256
|
I think I can handle that. All the links are relative so not a thing will load.
^fo PS When you click reset it would blank every textbox. When you check the checkbox, it would disable the billing info textboxes. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|