Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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½Å±¾.. - Web ¿ª·¢ / ASP

ÇóÒ»¸öjavascript½Å±¾..
µ±µã»÷Õâ¸ö<a>Ìí¼Ó¸½½ü</a>Á´½Óʱ¾Í»áÌí¼Ó¶àÒ»ÐÐÉÏ´«¿òºÍ°´Å¥,ºÍ×îºóÒ»¸öÅԱ߻áÏÔʾ"È¡Ïû"µÄÁ´½Ó,µã»÷Õâ¸öÈ¡Ïû¾Í»áÈ¥µô×îºóÒ»ÐÐ,Ò»¸öÕâ¸ö½Å±¾Ôõôд?Íò·Öлл..

Ò ......

javascriptÖÐidºÍname - Web ¿ª·¢ / JavaScript

Ë­ÄܸøÎÒ½²Ò»ÏÂÔÚjavascriptÖÐidºÍnameÓÐʲôÑùÇø±ð£¿
Ò»¸öÒ³ÃæÖÐ id×îºÃÖ»ÓÐÒ»¸ö ÒòΪ javascript ÓÐ getElementById("id")Ö®ÀຯÊý
name ¿ÉÒÔÓжà¸ö ³£ÓÃÔÚÌá½»ÇëÇóÊ·þÎñÆ÷¶Ë»ñÈ¡
Ò»¸öÔªËØÖÐ×îºÃÉè ......

javascript·µ»ØÖµ´«µÝÎÊÌâ - Web ¿ª·¢ / JavaScript

<script language="javascript">
function aa()
{
var a="image/map5.jpg"
return a
}
</script>
<table border="1" width="1000" > 
&l ......

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

ÎÒÔÚÊý¾Ý¿âÀïÃæ°ÑÊý¾Ý²éѯ³öÀ´ÁË´æ·ÅÔÚsessionÀïÃ棬´«µ½jspºóÈçºÎÔÚ
L010101=theMenu.addChild(L0101, "Document", "È«²¿¿Í»§()", "sale/list.html", "È«²¿¿Í»§..."); ......

¹ØÓÚJavaScript´«²ÎÊýµÄÎÊÌâ - Web ¿ª·¢ / JavaScript

×î½ü¿ª·¢¸öÍøÒ³£¬ÆäΪһ¸öTable£¬¿ÉÒÔ¶¯Ì¬Ôö¼Ó/ɾ³ýÐУ¬¶øÿÔö¼ÓÒ»ÐУ¬¶¼ÓÐÏàÓ¦µÄinputÏÃüÃûΪname0¡¢name1¡¢name2...ÏÖÔÚÏëÔÚij¸öinputµÄ onFocus Öе¯³öÒ»¸öselect¿ò£¬selectºó¶Ô¸Ãinput½øÐи³Öµ£¬ÎÒʵÏֵĴúÂë ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ