草庐IT

testselect

全部标签

javascript - JQueryUI 在一个 id 上调用 .accordion 两次

我正在尝试使用AJAX根据框中选择的内容动态生成JquerUIAccordion。目前我有使用JS$("#courseselect").change(function(){$("#testselect").html("");//Emptyanypreviousdata$("#testselect").css("display","block");//Displayitifitwashidden$.getJSON('json.php?show=tests&courseid='+$(this).val(),function(data){for(xindata){$("#testselect