| | |
enabling a radiobutton in javascript
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Use the onclick attribute with a function along the lines of
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
Function EnableRadioButtons ( array Elements ) For each Element in Elements Set Element Enabled
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
•
•
•
•
Use the onclick attribute with a function along the lines of
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
Function EnableRadioButtons ( array Elements ) For each Element in Elements Set Element Enabled
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
Function EnableRadioButtons ( array Elements ) if (button of interest is checked) { For each Element in Elements Set Element Enabled } else { For each Element in Elements Set Element Disabled }
That way the will become disabled again if the user checks the special button and then unchecks it later
Aaron Sterling
![]() |
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: script/function to lock a mouse and keyboard.
- Next Thread: Please take a screenshot in IE6 or 7 for yours truly
Views: 1448 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
acid2 ajax ajaxcode ajaxhelp animate api array automatically beta boarder box bug button calendar captcha card cart checkbox codes column cookies createrange() css cursor decimal design dom download dropdown element enter error events firefox firehose flash focus form frameworks google gwt html htmlform iframe image() images index internet java javascript javascripts jawascriptruntimeerror jquery jsfile jsp listbox marquee masterpage matrixcaptcha menu microsoft mimic mp3 mp4 mysql offline onmouseover parameters php player post problem progressbar prototype rating redirect regex runtime scale search select session shopping size sources sql starrating text textarea toggle twitter validation w3c web website window windowofwords windowsxp xml xspf






