Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

disable combobox when radio button is selected

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

disable combobox when radio button is selected

Postby shamilwebdev » Wed Oct 09, 2013 2:40 am

Hello All,

I'm fairly new to jsp. I have a form with 3 ComboBox and 2 radio buttons. I would like to disable the 2nd and 3rd combobox if the first radio button is selected. and all 3 should enable when second radio button is selected.
:help:
I want to do it in JavaScript.

Thanks in advance
shamilwebdev
New php-forum User
New php-forum User
 
Posts: 2
Joined: Thu Oct 03, 2013 2:01 am

Re: disable combobox when radio button is selected

Postby johnj » Fri Oct 11, 2013 11:24 pm

use the show and hide feature of the jquery
johnj
php-forum Super User
php-forum Super User
 
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm


Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot], Google Feedfetcher and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron