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

ÔõôʹÓÃJavaScriptµ÷ÓÃmfcÖеķ½·¨

ÎҵijÌÐòÀïÓиöIWebBrowser2¶ÔÏó£¬Ôõô²ÅÄÜÈÃÀïÃæµÄÍøÒ³ÀïµÄjs¿ÉÒÔµ÷ÓÃc++дµÄ·½·¨ÄØ
IWebBrowser2Õâ¸öÊǶ¯Ì¬´´½¨µÄ¡£

²»ÊÇjsµ÷ÓÃC++µÄ·½·¨£¬ÊÇC++½Ø»ñµ½JsµÄʼþ£¬È»ºó×Ô¼ºÖ´ÐÐij¸ö·½·¨

ÒýÓÃ
²»ÊÇjsµ÷ÓÃC++µÄ·½·¨£¬ÊÇC++½Ø»ñµ½JsµÄʼþ£¬È»ºó×Ô¼ºÖ´ÐÐij¸ö·½·¨


ÓоßÌå´úÂë²»£¬

×Ô¼ºgoogle°É

¹Ø¼ü×Ö activexÓëjavscript½»»¥ ÍøÉÏ´ó°ÑµÄ´úÂë

ÎÒ¶¼ËÑË÷°ëÌìÁË£¬Äã˳±ã¸ø¸öµØÖ·°É

refer to CDHtmlEventSink

Now, we will create an event that enables the ActiveX control to notify the web page that it is completed transferring the text from the input parameter to the output parameter. Code in the web page will react to this event and respond by displaying the text in the output parameter to verify that this transfer has occurred by the ActiveX control. In Class View, right click on CMyActiveXCtrl, select Add, Add Event. In the Add Event Wizard, as shown in Figure 11, enter �ParameterLoaded� for Event name and change Internal name to �FireParameterLoaded�. Click Finish for the wizard to create the default code to support this event.


References:
http://www.cnblogs.com/kevin-wang/archive/2009/12/15/1624812.html




Ïà¹ØÎÊ´ð£º

javascriptÖÐÊÇÖµÊÇÔõô½»»»ÁË£¿ - Java / JavaÏà¹Ø

Èý¸öÊýx,y,z ±È´óС..
var x,y,z,t;
if (x>y) 
{t=x;x=y;y=t;} //½»»»x,yµÄÖµ 
if(x>z) 
{t=z;z=x;x=t;}//½»»»x,zµÄÖµ 
if(y>z) 
{t=y;y=z;z=t;}//½»»»z,yµÄÖµ
ÕâÊÇ ......

javascriptµÄʼþ»úÖÆ²»Ã÷°×£¬Çë¸ßÈËÖ¸µã¡£

JScript code:

<html>
<head>
<script type="text/javascript">
window.onload=function(){
var a = document.getElementsByTagName("a");
for(var i=0; i& ......

javascriptʵÏÖÁбíĿ¼ - Web ¿ª·¢ / JavaScript

ÎÒÏëÎÊÒ»ÏÂÈçºÎÓÃjavascript¶¯Ì¬ÊµÏÖÏñÎÒÃÇÕâ¸öÍøÕ¾×ó±ßµÄĿ¼£¬Ð»À²£¡
??


ºÇºÇ£¡Ð»Ð»°¡£¡

¶¥Ò»ÏÂ

ÄãÃÇÊÇÊ²Ã´ÍøÕ¾°¡£¬ÒªÊǺǫ́ÊÇjavaÖ±½Ójsp£¬Èç¹ûºǫ́ÊÇc£¬ÄǾÍÓÃcgiÉú³Éxml£¬js¶¯Ì¬È¥¶ÁxmlµÄÊý¾Ý

Ó ......

Ȥζjavascript... - Web ¿ª·¢ / JavaScript

ÎÒÒ²À´Ò»¸öȤζjavascript:
´ò¿ªÒÔÏÂhtmlÎļþ,ÒÀ´Î°´ÏÂG,L,CÈý¸ö¼ü,¾Í»áÓÐÆæ¼£³öÏÖ!!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ