jQuery AJAX getScript() Method
ExampleGet and run a JavaScript using an AJAX request:
Try it yourself » |
Definition and Usage
The getScript() method is used to get and execute a JavaScript using an AJAX HTTP GET request.
Syntax
$(selector).getScript(url,success(response,status)) |
Parameter | Description |
---|---|
url | Required. Specifies the url to send the request to |
success(response,status) | Optional. Specifies the function to run if the request
succeeds Additional parameters:
|
[출처] http://www.w3schools.com
'프로그램&DB > AJAX' 카테고리의 다른 글
jQuery AJAX $.param() Method (0) | 2011.08.23 |
---|---|
jQuery AJAX load() Method (0) | 2011.08.23 |
jQuery AJAX $.getJSON() Method (0) | 2011.08.23 |
jQuery AJAX $.get() Method (0) | 2011.08.23 |
jQuery AJAX ajaxSuccess() Method (0) | 2011.08.23 |