2009-07-20 22 views

答えて

0

このようにします。

/* 'somepage.php' is our script source. 
    'username'  is our varible, jonathansampson is the value 
    'result'  will hold anything the script sends back 
    'text'   is the type of data we're expecting. */ 
$.get("somepage.php", {"username":"jonathansampson"}, function(result){ 

    alert(result); 

}, "text"); 
関連する問題