'=================================================================== ' JSON 문자 escape '------------------------------------------------------------------ ' string json_escape(string str) '=================================================================== Function json_escape(str) If NOT isset(str) then json_quot = str Exit Function End If '// 특수문자 처리 str = Replace(str, "\", "\\") str = Replace(..
key = "kkk" value = "vvv" 변수들을 JSON 형식 {key:value} 으로 만들때 특수문자 Escape '// JSON Escape Function json_escape(str) If isEmpty(str) Or isNull(str) Then Exit Function str = Trim(str) str = Replace(str, """", """) str = Replace(str, "'", "'") str = Replace(str, "\", "\\") str = Replace(str, Chr(13) & Chr(10), "\n") str = Replace(str, Chr(13), "\n") str = Replace(str, Chr(10), "\n") str = Replace(str, ..
jQuery의 getJSON사용 시 다른 도메인 데이터가져오기(CrossDomain) http://mudchobo.tomeii.com/tt/441 Generate JSON from VBScript (ASP) datatypes http://www.webdevbros.net/2007/04/26/generate-json-from-asp-datatypes/ Ajax with Classic ASP using jQuery http://www.mikesdotnetting.com/Article/98/Ajax-with-Classic-ASP-using-jQuery Any good libraries for parsing JSON in Classic ASP? http://stackoverflow.com/questions/10..
JSON 문법검사기 http://www.jsonlint.com/ Cross browser 에서의 흥미로운 예제들 IE8 JSON.parse(”{ ‘a’:1 }”) : Syntax Error CHROME JSON.parse(”{ ‘a’:1 }”) : OK FF JSON.parse(”{ ‘a’:1 }”) : Syntax Error OPERA 10.10 JSON.parse(”{ ‘a’:1 }”) : Undefined variable JSON SAFARI 4.0.4 JSON.parse(”{ ‘a’:1 }”) : Syntax Error jQuery 1.3 까지는 고유의 parsing 기술이 쓰이기에 1: $.ajax({url: "/url", 2: dataType: "json", 3: success: functio..
+ prototypeUtils.js /* prototypeUtils.js from http://jehiah.com/ Licensed under Creative Commons. version 1.0 December 20 2005 version 2.0 2010-01-08 by darthJun Contains: + unpackToForm() */ function unpackToForm(data){ for (i in data){ var val = (data[i]==null)? '' : data[i].valueOf(); if($$("input[type=radio][name='"+i+"']").length > 1) { // when element is radio group $$("input[type=radio][n..
- Total
- Today
- Yesterday
- Linux
- sencha touch
- CSS
- 한글
- Prototype
- javascript
- classic asp
- IOS
- IE
- ASP
- macos
- nginx
- Mac
- JSON
- 워드프레스
- Debug
- iphone
- Docker
- git
- laravel
- PHP
- centos
- Wordpress
- API
- 안드로이드
- iis
- JQuery
- Android
- nodejs
- mssql
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |