Jquery Ajax Problem
Posted
by oraclee
on Stack Overflow
See other posts from Stack Overflow
or by oraclee
Published on 2010-05-05T08:41:55Z
Indexed on
2010/05/05
8:48 UTC
Read the original article
Hit count: 258
jQuery
|JavaScript
Hi all;
var v_name = null;
$.ajax({
type: "GET",
url: "Testpage.aspx",
data: "name=test",
dataType: "html",
success: function(mydata) {
v_name= mydata;
}
});
alert(v_name);
Output: alert in null
"success" scope in alert work
how to make ? pls help
© Stack Overflow or respective owner