function check(){
if(document.form1.LXRMC.value=="" || document.form1.DZ.value=="" || document.form1.LXRMC.value==""
|| document.form1.EMAIL.value=="" || document.form1.FLBH.value=="1")
{
  ......
ÇëÎÊÔÚ¶Ô»°¿òÀïÄÚǶä¯ÀÀÆ÷¿Ø¼þ£¬´ïµ½¸úÍøÒ³½»»¥
Ïëͨ¹ýJavaScriptµ÷ÓÃC++º¯Êý ÐèÒªÍê³É Äļ¸¸ö²½Ö裿
Çë°´²½Öè˵Ã÷¡£
C++½«º¯Êý·Åµ½ÄÄÀï ¹© JavaScript ²éѯ²¢µ÷ÓÃÄØ£¿
ËäÈ»ÓдúÂë µ«ÊÇ ÎÒ»¹ÊÇ¿´²»¶® £¬×÷Õß·â×°ÁËCOccManager ºÍ IDispatchÀà ÕâÁ½¸öÊǸÉʲôµ ......
ÔÚC££ÖÐÊÇÕâÑùµ÷Óõģº
1¡¢Ìí¼ÓÒýÓÃ
2¡¢using ReaderActxLib;
3¡¢RichonReaderClass readerManager = new RichonReaderClass();
4¡¢readerManager.Open();//µ÷ÓÃcom×é¼þÖÐopen·½·¨
ÏÖÔÚÎÒÒªÔÚjavascriptÖе÷ÓÃÕâ¸öcom×é¼þÊÇOpen()·½·¨£¬ÔõôʵÏÖÄØ£¿
лл!!
Ê×ÏÈÔÚÒ³ÃæÓà <object>ÒýÈë×é¼þ. ......
ÎÒÔÚѧϰÖУ¬Åöµ½ÎÊÌ⣬ÔÚ´¦ÀíµÄʱºòÏ£ÍûÓýű¾´úÂëÈ¥µ÷ÓÃC#ºǫ́´úÂë¡£Ôõô°ì£¿
ajaxÒì²½µ÷ÓÃßÂ
ajax£¬
webservice
ºǫ́·½·¨£º
protected string CsharpVoid(string strCC)
{
strCC = "ÄãºÃ£¡" + strCC;
return strCC;
}
ǰ̨JS:
function Init()
......
ÎÒÄ£·Â¡°ÊµÏÖÍøÂçÂìÒÏ¡¢JETCARµÈÈí¼þÖ®IEÓÒ¼ü²Ëµ¥µÄ¡°ÓÃxxxxxxÏÂÔØ¡±Àý×Ó£¬¡±ÔÚieÓÒ»÷²Ëµ¥µ¯³öÒ»¸öÓ¦ÓóÌÐò£¬ÔÚÎҵĻú×ÓÉÏÔËÐÐÄÜʵÏÖЧ¹û£¬µ«ÊÇÎÒ°ÑÔËÐкõijÌÐò´ò°üµ½ÁíÒ»»ú×ÓÉÏ£¨¡°HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\»ñÈ¡ÍøÒ³ÕýÎÄ¡±Ò²ÔÚ»ú×ÓÉÏдÈëÁË£©½á¹ûÔÚieÓÒ»÷²Ëµ¥Ã»Óе¯³öÓ¦ÓóÌÐò£¬± ......
Õâ¸ö¶Ô»°¿òÊÇCSÀﵯ³öÀ´µÄ
public static void MsgBox_(Page Page, string Msg)
{
ClientScriptManager ClientScriptManager = Page.ClientScript;
if (!ClientScriptManager.IsClientS ......