$.get('http://myurl', function( data ) { alert('data='+data); });Its not robust, no error handling.
Programming Tips - jQuery: a simple asynchronous AJAX get
Date: 2014jan17
Language: javaScript
Library: jQuery
Q. jQuery: a simple asynchronous AJAX get
A. Here is the simplest way: