2011-01-05 67 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 
})