ͼƬǰ»»ÎÊÌâ javascript¸ßÊÖÇë½ø
ÎÒ×öÁËÒ»¸öͼƬ×Ô¶¯Çл»µÄ²âÊÔ ½á¹û²»³É¹¦ ²»ÖªµÀÄÇÀïÓдíÎó ¿É·ñ°ï¿´¿´ ³ÌÐòÈçÏ£º
<html> <head> </head> <body>
<table align=center width="237">
<tr>
<td>
<table width="99%" height="100%" border="0" cellspacing="0" cellspadding="0">
<tr> <td colspan="6">
<font size="6">
<div id="b2bContent" style="filter: revealTrans(Duration=1,Transition=23); width: 100%; height: 162px;"> </div> </font>
</td> </tr>
<tr> <td align="center" style='cursor:hand'> <font size=2> <div class="b2bbutton" id="bt0" onclick="javascript:showPage(0); clearTimeout(theTimer); theTimer=setTimeout('turnPage()',speed); checkBt();">1 </div> </font> </td>
<td align="center" style='cursor:hand'> <font size=2> <div class="b2bbutton" id="bt1" onclick="javascript:showPage(1); clearTimeout(theTimer); theTimer=setTimeout('turnPage()',speed); checkBt();">2 </div> </font> </td>
<td align="center" style='cursor:hand'> <font size=2> <div class="b2bbutton" id="bt2" onclick="javascript:showPage(2);
Ïà¹ØÎÊ´ð£º
ÓÃjavascript½«Êý¾Ýµ¼³öµ½Îı¾Îļþ(txt)ÖÐ..
Ê×ÏȼÙÉèÒѾÓÐÁËÐèҪдÈëµÄÎı¾ÄÚÈÝ var txtContent ="ÐèҪдÈëµÄÄÚÈÝ";
ÏÖÔÚÐèÒªÓÃjavascript½«ÄÚÈÝдÈëtxtÎļþ(Õâ¸ötxtÎļþ²»´æÔÚ,ÐèÒª´´½¨)ÖÐ,È»ºóдºÃÖ ......
ÎÒÒ²À´Ò»¸öȤζjavascript:
´ò¿ªÒÔÏÂhtmlÎļþ,ÒÀ´Î°´ÏÂG,L,CÈý¸ö¼ü,¾Í»áÓÐÆæ¼£³öÏÖ!!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" ......
ÒÔÏÂÊÇÒ»¶ÎJavsScript½Å±¾£¬µ«ÔËÐÐʱ×Ü»á²úÉú ¡°Microsoft JScript ÔËÐÐʱ´íÎó: 'null' Ϊ¿Õ»ò²»ÊǶÔÏó¡±Òì³££¬´ó¼Ò°ï¿´Ò»Ï¡£
<form id="form1" runat="server">
< ......
void CWEHelperDlg::OnOK(){
CString code;
//µ÷ÓÃVBSCRIPT£¬Äܵ¯³öÏûÏ¢¿ò,Ò²ÄÜÕýÈ··µ»Ø hello
code = "function main()\r\n\tMsgBox \"ok\"\r\n\tmain=\"hello\"\r\nend functio ......
ÔÚÒ»¸öÏÔʾ²éѯ½á¹ûµÄÒ³ÃæÖÐ
--------------
ÐÕÃû | Ðбð
--------------
ÕÅÈý | ÄÐ
--------------
ÀîÀö | Å®
--------------
ÕÔÎå | ÄÐ
--------------
ÎÒÏÖÔÚÒªµãËæÒâÒ»¸öÐÕÃû£¬È»ºóµ¯³öÒ»¸ödi ......