Jump to content

enable disable dropdown list with radio button control


KIrk Anderson 6

Recommended Posts

I have included a simple javascript function that i am hoping someone may tell me why this would notwork in Spotfire 7.11 (as i have tried) and could also tell me how to implement thissimple js function.

Ultimately i want to disable/enable3 different dropdown controls based on the corresponding selection of a radio control which has 3 value options to select from.

thanks very much in advance.

Show / Hide Spotfire Controls from Dropdown

html:

 

 

 

 

js:

$("#c970da0f1b5549a88d27f368f6770f2f").on('change',function(){

$("option:selected",this).text()=="Show"

$("#showHidecontainer").fadeIn():

$("#showHidecontainer").fadeOut()

})

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...