Dave's Brain

Browse - Programming Tips - How can I do an async/asynchronous ajax get with jQuery?

Date: 2014jan17
Language: javaScript
Library: jQuery

Q.  How can I do an async/asynchronous ajax get with jQuery?

A.  Here is the simplest way:

$.get('http://myurl', function( data ) { alert('data='+data); });

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.