ÁöÁ¤µÈ ÆÄÀÏÀÇ ´Ù¿î·Îµå¸¦ ½ÃÀÛÇÑ´Ù.

Àμö/ÆĶó¸ÞÅÍ
urlVal : (ÁÖ¼Ò)
ÇʼöÀûÀÎ ¿ä¼ÒÀ̸ç, ´Ù¿î·ÎµåÇÒ ÆÄÀÏÀÇ À§Ä¡¸¦ ÁöÁ¤ÇÏ´Â ¹®ÀÚ¿­ÀÌ´Ù.
fpCallback : (Àμö)
ÇʼöÀûÀÎ ¿ä¼ÒÀ̸ç, ´Ù¿î·Îµå°¡ ¿Ï¼ºµÈ ÈÄ¿¡ ¼öÇàµÉ Äڵ带 ÁöÁ¤ÇÏ´Â ±â´ÉÇÔ¼ö ÁöÁ¤ÀÚÀÌ´Ù.
¹Ýȯ°ª

¹Ýȯ°ª sValÀº ÅؽºÆ®ÆÄÀÏÀÇ ´Ù¿î·Îµå ³»¿ëÀ» ¹ÝȯÇÑ´Ù.

Ư±â

µÚ·Î È£Ãâ(callback) ±â´ÉÇÔ¼ö ÁöÁ¤ÀÚ´Â ´ÜÀÏ ÆĶó¸ÞÅ͸¦ °®´Â´Ù. ´Ù¿î·Îµå°¡ ¼º°øÀûÀ¸·Î ¼öÇàµÇ¸é, ÆÄÀÏÀÇ ³»¿ëÀÌ ÆĶó¸ÞÅÍ·Î Àü´ÞµÇ°í ¼öÇàÇÒ ¼ö ÀÖ´Â ½ºÅ©¸³Æ®ÀÌ´Ù.

startDownload ¸Þ¼­µå´Â ÅؽºÆ® ¹®¼­ÀÇ ³»¿ë¸¸À» ¹ÝȯÇÑ´Ù. ´Ù¸¥ ¹®¼­ÀÇ ¾ç½ÄÀÌ ´Ù¿î·ÎµåµÇ¸é, ÆÄÀÏ ³»¿ëÀº ¹ÝȯµÇÁö ¾Ê°í, ±× ¾ç½Ä¸¸ ¹ÝȯµÈ´Ù.

ÁÖÀÇ : startDownload ¸Þ¼­µå¸¦ »ç¿ëÇϱâÀ§ÇÏ¿© VBScript¸¦ »ç¿ëÇÒ ¶§, ±â´ÉÇÔ¼öÀÇ ÁöÁ¤ÀÚ¸¦ ¾ò±â À§ÇÏ¿© GetRef¸¦ »ç¿ëÇÒ ÇÊ¿ä°¡ ÀÖ´Ù. ±×·¯¸é ÀÌ ±â´ÉÇÔ¼ö ÁöÁ¤ÀÚ´Â startDownload ¸Þ¼­µå¿¡ Àü´ÞµÈ´Ù.
Àû¿ë
°³Ã¼scriptIE

<SCRIPT>
function fnCallBack(vData){
  var aData=vData.split('\n');
}
</SCRIPT>

µÚ·Î È£Ãâ(callback) ±â´ÉÀ» ¼³¸íÇÑ´Ù. µÚ·Î È£Ãâ ±â´ÉÀº ÇÑ°³ÀÇ ÆĶó¸ÞÅ͸¸ ¹Þ´Â´Ù.
¿©±â¼­ vData´Â ÆÄÀÏÀÇ ³»¿ëÀÌ°í, ¿©·¯ aData·Î ³ª´¶ ¹è¿­º¯¼ö¸¦ ¸¸µé ¼ö ÀÖ´Ù


startDownload ¸Þ¼­µå·Î ÁöÁ¤ÇÑ ÆÄÀϸ¦ ´Ù¿î·ÎµåÇÏ°í, ´Ù¿î·Îµå°¡ ¿Ï·áµÇ¸é µÚ·Î È£Ãâ doAfterDown±â´ÉÀ¸·Î ¾Ë¸°´Ù.

<HTML XMLNS:MSIE>
<MSIE:DOWNLOAD id="oDownload" style="behavior:url(#default#download)" />
<SCRIPT>
function doAfterDown(vData) {
  alert (vData);
}
</SCRIPT>
<BUTTON onclick="javascript:oDownload.startDownload('../object/exp/wchild01.html',doAfterDown)">´Ù¿î·Îµå</BUTTON>

VBScript·Î download ºñÇìÀ̹ö¸¦ È£ÃâÇÑ´Ù.

<HTML XMLNS:IE>
<SCRIPT language="VBScript">
Function doDwDown(vvbData)
  MsgBox vvbData
End Function
</SCRIPT>
<IE:download id="ovbDownload" style="behavior:url(#default#download)" />
<BUTTON onclick="vbscript:ovbDownload.startDownload '../object/exp/wchild01.html', GetRef('doDwDown')">´Ù¿î·Îµå</BUTTON>