/documentation/appframework/$.get.md
Markdown | 39 lines | 23 code | 16 blank | 0 comment | 0 complexity | 8793cbf52b005ce64f3260317eef10f4 MD5 | raw file
- #$.get(url,success)
- ```
- Shorthand call to an Ajax GET request
-
- ```
- ##Example
- ```
- $.get("mypage.php?foo=bar",function(data){});
-
- ```
- ##Parameters
- ```
- url String
- success Function
- ```
- ##Returns
- ```
- undefined
- ```
- ##Detail
- $.get(url,successFnc) is a shorthand call to $.ajax
- The first parameter is the URL, the second is the sucess function. You can not specify any other options for $.ajax.
- ```
- $.get("mydata.php?foo=bar",function(res){console.log(res)});
- ```