addComponentRequest¸¦ »ç¿ëÇÏ¿© ¿äûÇÑ ¸ðµç ÄÞÆ÷³ÙÆ®¸¦ ´Ù¿î·ÎµåÇÏ¿© ¼³Ä¡ÇÑ´Ù.
ÆĶó¸ÞÅÍ´Â ¾ø´Ù.
¹Ýȯ°ªÀº ¾ø´Ù.
ÄÞÆ÷³ÙÆ®ÀÇ ´Ù¿î·Îµå°¡ ¼º°øÀûÀ¸·Î ÀÌ·ç¾îÁ³´Â°¡¸¦ ³ªÅ¸³»´Â ´ÙÀ½ Áß ÇϳªÀÇ ºÎ¿ï°ªÀ» ¹ÝȯÇÑ´Ù.
true | ÁöÁ¤µÈ ÄÞÆ÷³ÙÆ®ÀÇ ´Ù¿î·Îµå°¡ ¼º°øÀûÀ¸·Î ÀÌ·ç¾îÁ³´Ù. |
false | ÁöÁ¤µÈ ÄÞÆ÷³ÙÆ®ÀÇ ´Ù¿î·Îµå°¡ ¼º°øÀûÀ¸·Î ÀÌ·ç¾îÁöÁö ¾Ê¾Ò´Ù. |
°³Ã¼ | script | IE |
---|
ÀÌ ¿¹Á¦´Â IE5 À̻󿡼¸¸ Áö¿øµÈ´Ù. doComponentRequest¿Í addComponentRequest ¸Þ¼µå¸¦ »ç¿ëÇÏ¿© »ç¿ëÀÚ ½Ã½ºÅÛ¿¡ ¾øÀ¸¸é Internet Explorer Data Binding ÄÞÆ÷³ÙÆ®¸¦ ¼³Ä¡ÇÑ´Ù.
<HTML xmlns:IE>
<HEAD>
<STYLE>@media all { IE\:clientCaps {behavior:url(#default#clientCaps)}}</STYLE>
<IE:clientCaps id="oClientCaps" />
<SCRIPT>
function window.onload(){
var bAvail=false;
var sDBVersion='';
var sDBID='{9381D8F2-0288-11D0-9501-00AA00B911A5}';
bAvail=oClientCaps.isComponentInstalled(sDBID,'componentid');
if (!bAvail){ // data bindingÀÌ ¾øÀ¸¸é ¼³Ä¡ÇÑ´Ù.
oClientCaps.addComponentRequest;
showA.innerHTML='bAvail ¼³Ä¡ Áß';
} else showA.innerHTML='bAvail='+bAvail;
}
</SCRIPT>
<DIV id=showA>°á°ú Ç¥½Ãâ</DIV>