jquery-dropkick

How to use jQuery Validate form validation with dropkick select elements (DIV based select form element)

烂漫一生 提交于 2019-12-31 03:19:12
问题 I want to use jQuery validate library on a div based select form element. I am using the dropkick library to beautify my selects, but I am having difficulties trying to validate the form due to my select elements getting re-created with DIVS. <select id="permissionGroup" class="dropkick" name="permissionGroup" style="display: none;"> <option selected="selected" value=""> Please Select </option> <option value="1"> Admin </option> <option value="2"> Auditor </option> </select> The above select

Change function stop working when I add Dropkick or MultiSelect plugins to style Select elements

拜拜、爱过 提交于 2019-12-24 09:25:42
问题 This Change function stops working when I add either of the plugins/widgets I use for styling Select or Multi-Select elements (Dropkick - http://jamielottering.github.com/DropKick/ and jQuery UI MultiSelect Widget http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/) :-( Any idea how to get around this? I had some trouble adding the plugin to the fiddle, so I created separate fiddles: http://jsfiddle.net/chayanyc/Dhaat/201/ - Function that works http://jsfiddle.net/chayanyc/vWLEn/89/

How to reload jquery dropkick object

本小妞迷上赌 提交于 2019-12-20 20:05:36
问题 Im using a simple select list and the jquery.dropkick library to make it beautiful. Now i want to change that dropkick content after the corresponding select element has been changed (a new option came in). But just calling $('#select').dropkick(); doesnt work. And it looks like it is not supported. It would be enough just to rebuild that dropkick from scratch. Is there any possibility to "destroy" that dropkick object then rebuilding it by calling the .dropkick() method? 回答1: I have faced

How to reload jquery dropkick object

徘徊边缘 提交于 2019-12-03 06:25:25
Im using a simple select list and the jquery.dropkick library to make it beautiful. Now i want to change that dropkick content after the corresponding select element has been changed (a new option came in). But just calling $('#select').dropkick(); doesnt work. And it looks like it is not supported. It would be enough just to rebuild that dropkick from scratch. Is there any possibility to "destroy" that dropkick object then rebuilding it by calling the .dropkick() method? I have faced the same issue and couldn't find a solution, but finally succeeded in getting this hack work. $select = $("