티스토리 뷰
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
- Mac
- Android
- nodejs
- 워드프레스
- nginx
- IE
- 한글
- JQuery
- JSON
- ASP
- Debug
- laravel
- Docker
- CSS
- javascript
- mssql
- centos
- 안드로이드
- iis
- iphone
- Prototype
- classic asp
- Linux
- API
- macos
- Wordpress
- PHP
- git
- sencha touch
- IOS
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함