Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

javascriptÖÐÈçºÎµ÷ÓÃcom×é¼þ

ÔÚC££ÖÐÊÇÕâÑùµ÷Óõģº
1¡¢Ìí¼ÓÒýÓÃ
2¡¢using ReaderActxLib;
3¡¢RichonReaderClass readerManager = new RichonReaderClass();
4¡¢readerManager.Open();//µ÷ÓÃcom×é¼þÖÐopen·½·¨

ÏÖÔÚÎÒÒªÔÚjavascriptÖе÷ÓÃÕâ¸öcom×é¼þÊÇOpen()·½·¨£¬ÔõôʵÏÖÄØ£¿
лл!!

Ê×ÏÈÔÚÒ³ÃæÓà <object>ÒýÈë×é¼þ.
È»ºó°ïobject±êÇ©É趨һ¸öid
Ö®ºódocument.getElementById(#{id}).Open();
#{id}Ö¸ÄãÇ°ÃæΪobjectÉ趨µÄid



ʹÓÃActiveX¿Ø¼þ

ÒýÓÃ
ʹÓÃActiveX¿Ø¼þ

<SCRIPT LANGUAGE=javascript >
<!--
function ConnBtn_onclick(){
var  objCom =new ActiveXObject("COM×é¼þÃû³Æ"); //Èç¹û²»¿ÉÒÔÊÔÏÂÃæÒ»ÐÐ
var  objCom =new ActiveX("COM×é¼þÃû³Æ");   //ÊÔ¿´...
objCom.Open();
}
//-->
</SCRIPT>

COM×é¼þÐèÒªÏÈ×¢²áµ½µçÄÔÉÏ¡£¡£¡£

»òÕß
var  objCom =new Active("COM×é¼þÃû³Æ");  //ÊÔ¿´...

Íü¼Ç²î²»¶àÁË :)

ÓÐЩcom²»ÄÜÓÃjsÀ´¶¯Ì¬´´½¨£¨¾ßÌå¿´com³ÌÐòÔõôд£©£¬¾ÍÖ±½ÓÔÚÒ³Ãæ¼ÓObject

<object classid="clsid:0000336C-811C-4989-849A-F0E4E060CA1D" id="test"> </object>

È»ºóJSÀïÃæÖ±½Ó test.open()

Ч¹ûÒ»Ñù

ÊÔÁËÉÏÃæ¸÷λËù˵µÄ°ì·¨»¹ÊDz»ÐÐ.....

Õâ¸öcom×é¼þÀïÓм¸¸öÀ࣬ÎÒÊÇÒªµ÷ÓÃÆäÖÐÒ»¸öÀàÀïµÄopen()·½·¨

ÀïÃæÓм¸¸öÀ


Ïà¹ØÎÊ´ð£º

¹ØÓÚjavascriptÎÊÌâ,,ºÜ¼± - Web ¿ª·¢ / JavaScript

ÓÃjavascript½«Êý¾Ýµ¼³öµ½Îı¾Îļþ(txt)ÖÐ..
Ê×ÏȼÙÉèÒѾ­ÓÐÁËÐèҪдÈëµÄÎı¾ÄÚÈÝ var txtContent ="ÐèҪдÈëµÄÄÚÈÝ";
ÏÖÔÚÐèÒªÓÃjavascript½«ÄÚÈÝдÈëtxtÎļþ(Õâ¸ötxtÎļþ²»´æÔÚ,ÐèÒª´´½¨)ÖÐ,È»ºóдºÃÖ ......

ÇóÏÂÁª JavaºÍJavaScript - Java / ·Ç¼¼ÊõÇø

ÉÏÁª£ºJavaºÍJavaScript

×Ô¼ºÊÔÊÔ£º
ÏÂÁª£ºÃæ°üºÍÃæ°ü³µ

ÏÂÁª£ºSQLºÍMySQL
ºÇºÇ¡£

me and myself

ÏÂÁª£ºJavaScriptºÍJava

ÍÃ×ÓºÍÍÃ×Óʺ£¡
£¡

ÔÙÀ´Ò»¸ö£ºCºÍC++

ÒýÓÃ
ÏÂÁª£ºJavaScriptºÍJav ......

javascriptɾ³ýÁÐ - Web ¿ª·¢ / JavaScript

´úÂëÈçÏ£º
<table>
<tr>
  <td>µÚÒ»ÐÐ
  </td>
</tr>
<tr>
<td><a href="javascript:delete()">ɾ³ý</a>
</td>
< ......

javaScriptÖмÓÈëÊý¾ÝÎÊÌ⣡ - Java / Web ¿ª·¢

ÎÒÔÚÊý¾Ý¿âÀïÃæ°ÑÊý¾Ý²éѯ³öÀ´ÁË´æ·ÅÔÚsessionÀïÃ棬´«µ½jspºóÈçºÎÔÚ
L010101=theMenu.addChild(L0101, "Document", "È«²¿¿Í»§()", "sale/list.html", "È«²¿¿Í»§..."); ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ