jQuery Ajax get Method

jQuery Ajax get method loads data from server using the HTTP GET Request.

jQuery Ajax $.get() Method Syntax

url(Required): Url of the file you want to load.
function : (optional): Callback is executed when the request completes.

jQuery Ajax get method Example

Try it ยป

Note : get_method_demo.php contains the following data which is returned from the server :