2011-01-05 68 views

回答

0

我不明白,为什么你正在使用

$('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 
})