问题
Chosen (chosen.jquery.js) is not working inside the form, after applying jquery-steps. If that code runs outside the form that is used for jquery-steps, it works perfectly fine. I am also having the same problem with datePicker
inside the jquery-steps. How can I fix this problem?
回答1:
You need to initialize jquery steps first and then other plugin initialization http://jsfiddle.net/6YkZV/50/
$(function () {
//step1
$("#wizard").steps({
bodyTag: "fieldset",
headerTag: "h4"
});
//step2
$(".datepicker").datepicker();
});
来源:https://stackoverflow.com/questions/31758647/chosen-not-working-inside-the-form-using-jquery-steps