Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-26-2005, 11:14 AM   #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
foolishone is offline   Reply With Quote
Old 04-26-2005, 11:22 AM   #2
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
What errors are you getting?
doctorgonzo is offline   Reply With Quote
Old 04-26-2005, 12:12 PM   #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
Attached Files
File Type: zip pics.zip (80.3 KB, 97 views)
File Type: zip pics2.zip (59.8 KB, 84 views)
foolishone is offline   Reply With Quote
Old 04-26-2005, 12:33 PM   #4
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
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.
doctorgonzo is offline   Reply With Quote
Old 04-26-2005, 12:39 PM   #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.
Attached Files
File Type: txt order.txt (11.1 KB, 100 views)
foolishone is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:21 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2