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

»ñÈ¡javascript¶Ô»°¿ò·µ»ØÖµµÄ×î¼Ñ½â¾ö·½°¸ ¾ø¶Ô×îÓÅ

Õâ¸ö¶Ô»°¿òÊÇCSÀﵯ³öÀ´µÄ

public static void MsgBox_(Page Page, string Msg)
        {
            ClientScriptManager ClientScriptManager = Page.ClientScript;
            if (!ClientScriptManager.IsClientScriptBlockRegistered("clientScript"))
            {
                System.Text.StringBuilder StringBuilder = new System.Text.StringBuilder();
                StringBuilder.Append(" <script language=javascript type='text/javascript'>");
                StringBuilder.Append(Msg + " </script>");
                ClientScriptManager.RegisterStartupScript(Page.GetType(), "clientScript", StringBuilder.ToString());
            }
        }
µ÷ÓöԻ°¿ò

MsgBox_(this, "var a = confirm('ÊÇ·ñɾ³ý£¿')");

µ÷ÓúóÈçºÎ»ñÈ¡·µ»ØÖµ£¿
´ð°¸ÔÚ¥ϣ¡

°ÑÖµ¸³¸øÒ»¸ö¿Ø¼þ
MsgBox_(this, "document.getElementById('txtAnswer').value= confirm('ÊÇ·ñɾ³ý£¿')");


ÕâÑù×ö°¡£¬ºÇºÇ£¬È¥ÊÔÊÔ£¬ÒÔǰûÕâô×ö¹ý

ÕâÑù×öÒ»µãÒ²²»ºÃ£¬²¢²»


Ïà¹ØÎÊ´ð£º

JavaScriptµÄdTreeÎÊÌ⣬ÔÚÏßµÈ - Java / Web ¿ª·¢

²úÆ·µÄÅäÖÃÒ³Ãæ¹²ÓÃÒ»¸öÓÃJavaScriptµÄdTreeʵÏÖµÄÊ÷Ðνṹ£¬ÏÔʾµÄʱºò£¬Ê÷Ðνṹ¿¿ÔÚÒ³ÃæµÄ×î×ó±ß£¬¸úÎÒµÄÅäÖÃÒ³ÃæÖмä¸ôÁËÒ»´ó¿é£¬ÏÖÔÚÏë°ÑÊ÷ÐÎĿ¼¾ÓÖУ¬½ô¿¿ÔÚÅäÖÃÄÚÈÝÅԱߣ¬ÈçºÎ¿ØÖÆÊ÷ÐÎĿ¼µÄλÖã¬ÒÔ¼°¿É²»¿ ......

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

ÉÏÁª£ºJavaºÍJavaScript

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

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

me and myself

ÏÂÁª£ºJavaScriptºÍJava

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

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

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

JavaScriptº¯ÊýÒ»¸öºÜÆæ¹ÖµÄÎÊÌâ - Java / Java EE

ÔÚJSPÒ³ÃæÓÐÒ»¸ö<input type="hidden" name="index" value="0">/>¿Ø¼þ
µ±ÎÒÓÃÏÂÃæµÄJavaScriptº¯Êý¸Ä±äÆävalueµÄÖµµÄʱºò Èç¹ûÂú×ãÌõ¼þ£¨¼´i>=3µÄʱºò£©ÎªÊ²Ã´valueµÄ ......

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

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

javascriptÎÊÌ⣬¶àл - Web ¿ª·¢ / JavaScript

6¡¢ÔÚ²»Ö¸¶¨ÌØÊâÊôÐÔµÄÇé¿öÏ£¬Äļ¸ÖÖHTML±êÇ©¿ÉÒÔÊÖ¶¯ÊäÈëÎı¾£º£¨AB£©
A.<TEXTAREA></TEXTAREA>
B.<INPUT type=¡±text¡±/>
C.<INPUT type=¡±hidden¡±/>
D.<DIV></DIV>
7 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ