home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Why is this not working? "Dropdownbox disabling"

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2324
Discussions: 200,942, Posts: 2,379,282, Members: 246,304
Old August 10th, 2006, 06:14 AM   Digg it!   #1 (permalink)
Member
 
Join Date: Aug 2003
Location: Germany
Posts: 98
Send a message via ICQ to c6ke
Angry
Why is this not working? "Dropdownbox disabling"

Hi there!
I'm trying to use this code in order to disable the given dropdownbox. it disables but doesn't re-enable it again.
What is wrong?

<form name="MyForm" style="margin:0px">
<select name="doodoo" size="" class="selectdropdown">
<option>Option1</option>
<option>Option2</option>
<option>Option3</option>
</select>
</form>

<A style="COLOR: #000080; TEXT-DECORATION: none; CURSOR: pointer;" onClick="javascript:document.MyForm.doodoo.disable d='false'">Enabled</A>

<A style="COLOR: #000080; TEXT-DECORATION: none; CURSOR: pointer;" onClick="javascript:document.MyForm.doodoo.disable d='true'">Disabled</A>
__________________
Do you also hear those voices?
c6ke is offline   Reply With Quote
Old August 10th, 2006, 06:52 AM     #2 (permalink)
Member
 
Join Date: Aug 2003
Location: Germany
Posts: 98
Send a message via ICQ to c6ke
Got it:
<A style="COLOR: #000080; TEXT-DECORATION: none; CURSOR: pointer;" onClick="javascript:document.MyForm.doodoo.disable d=false">Enabled</A>

<A style="COLOR: #000080; TEXT-DECORATION: none; CURSOR: pointer;" onClick="javascript:document.MyForm.doodoo.disable d=true">Disabled</A>
c6ke is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I disable the "power", "sleep", and "wake" buttons. ShawnD1 General Tech Discussion 1 January 30th, 2004 11:50 AM
System("pause"); not working corectly insane_jester Webmastering and Programming 1 December 6th, 2003 07:58 PM
Can't get "embed" and browser detection working... fishsponge Webmastering and Programming 0 November 1st, 2003 07:49 AM
Disabling "scource" aznlurkerz Webmastering and Programming 23 August 6th, 2002 11:42 PM
Remember the "Worm", "Cave", or "Ribbon" games? SickPup404 IMO Community 11 July 10th, 2002 08:02 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2916)
Hackers global warming emails (5)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Wireless Televisions. (9)
California Passes Anti-Flat-HDTV Le.. (43)
Regular Build (6)
Is the PSU I received dead? (11)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Print spooler problem (13)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
Recent Discussions
Asus P4G8X Mobo (4)
screen resolution vs monitor size (2)
Wireless Televisions. (9)
radeon x850xt platinum & shader 3 (4)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)
Is the PSU I received dead? (11)
Have you switched yet? (85)
Point and Shoot Camera Suggestions. (2)
Modern Warfare 2 freeze (13)
wireless user (1)
World's largest Monopoly Game using G.. (332)
Ideal cheap graph card for PC-Gaming? (17)
BIOS won't read disk when I try to fl.. (0)
Install XP pro and a Vista laptop ?? (11)
Graphics Card Upgrade Question (1)
favorit (1)
solutions for virtical white lines on.. (1)
Fire in DVD (2)


All times are GMT -4. The time now is 03:23 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28