ƯÁ¤ °³Ã¼¿¡ ¿¬°áµÈ dataSrc ¼Ó¼º¿¡ ÁöÁ¤µÈ µ¥ÀÌÅÍ ¿øõ(source)ÀÇ Çʵ尡 ¾î´À °ÍÀΰ¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÅؽºÆ® ¹Ú½º´Â µ¥ÀÌÅÍ ¼Ò½º "customer"ÀÇ Çʵå "customer_name"¿¡ ¿¬°áµÇ¾îÀÖ´Ù. ÅؽºÆ® ¹Ú½º°¡ µ¥ÀÌÅÍ¿¡ ¿¬°áµÈ table ¼Ó¿¡ ÀÖÀ¸¹Ç·Î, µ¥ÀÌÅÍ ¼Ò½º¿¡¼ µ¦½ºÆ® ¹Ú½º°¡ ¹Ýº¹ÀûÀ¸·Î µ¥ÀÌÅ͸¦ °¡Á®¿Í µð½ºÇ÷¹ÀÌ ÇÑ´Ù.
<DIV style="visibility:hidden"> <OBJECT id="DBobj" classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83" height=0 width=0> <PARAM name="DataURL" value="../property/exp/months.csv"> <PARAM name="UseHeader" value="True"> <PARAM name="TextQualifier" value="'"> </OBJECT> </DIV> <TABLE id="tableObj" datasrc="#DBobj"> <!-- <TR bgcolor="eeeeee"> <TD>monthShort</TD><TD>monthStr</TD><TD>monthNumb</TD><TD>monthLength</TD> </TR> --> <TR> <TD><INPUT id="in1Obj" type=text dataFld="monthShort"></TD> <TD><INPUT id="in2Obj" type=text dataFld="monthStr"></TD> <TD><INPUT id="in3Obj" type=text dataFld="monthNumb"></TD> <TD><INPUT id="in4Obj" type=text dataFld="monthLength"></TD> </TR> </TABLE> <SCRIPT> document.write('tableObj.dataSrc='+tableObj.dataSrc+'<BR>'); document.write('inObj.dataFld='+in1Obj.dataFld+'<BR>'); </SCRIPT>