0
我有这个代码http://pastie.org/1431114它有什么问题吗?当我单击国家选择第二次时,我只能得到区域选择列表。jquery selectmenu code issue
我有这个代码http://pastie.org/1431114它有什么问题吗?当我单击国家选择第二次时,我只能得到区域选择列表。jquery selectmenu code issue
我不明白,为什么你正在使用
$('select#country').selectmenu({
select: function(event, options) {
和
<select id="country" name="country"
onchange="javascript: get_regions(this.value)">
也许这会容易得多,如果你会使用这样的代码
$('select#country').change(function(){
var value = $(this).val();
//ajax call
})