ajax 기초
by 길상여의 2008. 10. 27. 20:34
// XMLHttpRequest 오브젝트 생성 // 사용예) obj = createHttpRequest(); // function newXMLHttpRequest(){ var xmlHttp;
if (window.ActiveXObject) { // IE일 때 // IE try{ xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try{ xmlHttp = new ActiveObject("Microsoft.XMLHTTP") } catch(e2) { xmlHttp = null; } } } else if (window.XMLHttpRequest) { // IE 외 try{ xmlHttp = new XMLHttpRequest(); } catch(e) { xmlHttp = null; } } if (xmlHttp == null) { errorMessage(); }
return xmlHttp; }
function errorMessage(){ alert("지원 안되는 브라우저"); }
동영상을 포함한 이미지 저장 오픈캡쳐
2008.11.03
php 엑셀파일 저장
2008.10.29
SQL Injection 정말 무섭습니다.
2008.10.21
Adobe Flash Player 10
2008.10.15