beginning to use jquery
Posted
by Delirium tremens
on Stack Overflow
See other posts from Stack Overflow
or by Delirium tremens
Published on 2010-03-17T14:05:33Z
Indexed on
2010/03/17
19:11 UTC
Read the original article
Hit count: 176
jQuery
uri = 'http://www.test.com/';
$.ajax({
url: uri,
success: function(msg){
sc.searchcontents = msg;
alert(sc.searchcontents);
}
});
alert(sc.searchcontents);
alerts undefined alerts the page's source code
© Stack Overflow or respective owner