티스토리 뷰
jQuery.getJSON 은 GET 방식으로 전송한다.
그러면 post 방식으로 전송하고 json 으로 응답받으려면?
그러면 post 방식으로 전송하고 json 으로 응답받으려면?
$.post(url, data, function(jsonResponse) {
// Do something with jsonResponse
}, 'json');
[출처] http://abeautifulsite.net/blog/2008/05/postjson-for-jquery/
'웹프로그래밍 > js' 카테고리의 다른 글
| IE: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917) (5) | 2012.01.17 |
|---|---|
| jQuery Mobile 에서의 form (0) | 2012.01.03 |
| JavaScript 정규표현식 (0) | 2011.10.06 |
| jQuery 이용 json 으로 폼 값 입력 (0) | 2011.08.25 |
| textarea 내용을 javascript 이용하여 html 변환. 각 문장 p 태그 적용 (0) | 2011.06.16 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 워드프레스
- IE
- ASP
- Linux
- 안드로이드
- Android
- nodejs
- 한글
- JQuery
- centos
- javascript
- iphone
- Mac
- API
- nginx
- laravel
- Prototype
- classic asp
- PHP
- Wordpress
- IOS
- git
- macos
- mssql
- Debug
- sencha touch
- Docker
- iis
- CSS
- JSON
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
글 보관함