Showing posts with label dropdown. Show all posts
Showing posts with label dropdown. Show all posts

Monday, June 4, 2012

Friday, May 18, 2012

How do I use jQuery to select all children except a select element


I have a div (let's say the id is "container") with many elements in it, including a select element. I'd like to select all everything in the div except the select. Things I've tried:

Monday, February 20, 2012

Dynamic Dropdown Menu if-else does not become dynamic


I have two dropdown menus, im having trouble with making the options for the second dropwdown to be dependent on the choice on the first dropdown menu.

Sunday, February 12, 2012

hiding and showing radio button and dropdown based on values



<select name="drop1" id='drop1'>
<option value="" selected="selected"></option>
<option value="data1">Data1</option>
<option value="data2L">Data2</option>

<select name="drop2" id='drop2'>
<option value="" selected="selected"></option>
<option value="data3">Data3</option>
<option value="data4">Data4</option>

Monday, January 16, 2012

How to retain a selected value in dynamically generated dropdown box to the next jsp page?


I have a drop down box where the options are coming from the configured properties file.The options are generated on load of the page.I have used the following code.