asmselect

jQuery toggle div from select option

本小妞迷上赌 提交于 2019-12-22 08:17:56
问题 I'm in need to toggle divs from a dropdown select option box. I'd like it similar to asmselect for jquery but instead of listing the option tag I'd like it to display a hidden div. Is there anything like this out there? Or anyone know how to set it up? Thanks, Jeff. UPDATED Basically what I want is the look and interaction of the asmselect link above though toggling divs instead of generating a list. Example code below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:/

jquery asmselect: changes not firing on sort

二次信任 提交于 2019-12-11 05:59:00
问题 I'm using the asmselect plugin to allow users to select & order multiple items from a select box. I only want to enable the submit button when the user has made a change. The following works, but change does not get called when sorting the selected elements: <script type="text/javascript"> $(document).ready(function() { $("select[multiple]").asmSelect({ addItemTarget: 'bottom', highlight: false, hideWhenAdded: true, sortable: true }); // track changes with our own event $("#mySelect").change

jQuery toggle div from select option

眉间皱痕 提交于 2019-12-05 13:09:53
I'm in need to toggle divs from a dropdown select option box. I'd like it similar to asmselect for jquery but instead of listing the option tag I'd like it to display a hidden div. Is there anything like this out there? Or anyone know how to set it up? Thanks, Jeff. UPDATED Basically what I want is the look and interaction of the asmselect link above though toggling divs instead of generating a list. Example code below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>