I have a “select” tag with the following options:
<select>
<option value="blue">Blue</option>
<option value="red">Red</option>
<option value="green">Green</option>
</select>
I want to add the “slideUp” and “slideDown” effect using jquery but I can’t find a simple example to approach my need. The effect should look like this combobox example: Telerik Combobox
Here’s one possible solution, you will need to play with the styling:
This method extends jquery with a
slidingSelectfunction, which creates atogglediv based upon the name of the select, and when that toggle div is clicked on the selectslidesDownlike it does in the Telerik Control. You will style the#{ID of Select}Togglein your CSS to create a better looking UI.