javascript Ò³ÃæÌø×ªÓï¾ä
javascriptÒ³ÃæÌø×ª³£ÓôúÂë
¡¡ °´Å¥Ê½£º
¡¡¡¡<INPUT name="pclog" type="button" value="GO" onClick="location.href='http://www.163.com'">
»òÕß
<input type="button" value="ÖØÐ¹ºÂò" onclick="return goBack();"/>
<script language="javascript">
function goBack(){
history.go(-3);
}
</script>
¡¡¡¡Á´½Óʽ£º
¡¡¡¡<a href="javascript:history.go(-1)">·µ»ØÉÏÒ»²½</a> //-1¿ÉÒÔ¸ù¾ÝÇé¿öÖ¸¶¨£»
¡¡¡¡<a href="<%=Request.ServerVariables("HTTP_REFERER")%>">·µ»ØÉÏÒ»²½</a>
¡¡¡¡Ö±½ÓÌø×ªÊ½£º
¡¡¡¡<script>window.location.href='http://www.163.com.cn';</script>
¡¡¡¡¿ªÐ´°¿Ú£º
¡¡¡¡<a href="javascript:" onClick="window.open('http://www.163.com','','height=500,width=611,scrollbars=yes,status=yes')">Ê®·Ö·½±ã</a>
±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£ºhttp://blog.csdn.net/Peter_K/archive/2007/01/29/1497226.aspx
Ïà¹ØÎĵµ£º
1. º¯ÊýÔÚÖ´ÐÐÍê return Ö¸Áîºó¾Í»áÍ£Ö¹Ö´ÐдúÂë.
function test(Num1,Num2){
return Num1+Num2;
alert(Num1+Num2); //never outputs
}
2. javascript º¯Êý²»ÄÜÖØÔØ,Ò²¾ÍÊÇ˵¿ÉÒÔÔÚͬһ¸ö×÷ÓÃÓòÖж¨Òå¶à¸öͬÃûº¯Êý,¶ø×îÖÕÖ´ÐеÄÊǺóÒ»¸öº¯Êý.
function test(num){
alert(num+10);
}
function ......
ÈÕǰ×öÏîÄ¿£¬ÐèÒª°ÑÒ³ÃæµÄJS´úÂë³é³öÀ´·Åµ½Ò»¸ö.jsÎļþÖУ¬ÓÉÓÚflex³ÌÐòÊÇÒÔdiv+SWFObjectµÄ·½Ê½Ç¶Èëµ½Ò³ÃæµÄ£¬ÎªÁ˴ﵽĿ±êÍøÕ¾Ö»ÐèÒªÒýÓÃÒ»¸ö.jsÎļþ¼´ÊµÏÖÒýÓÃÏîÄ¿¹¤³ÌµÄÄ¿µÄ£¬ËùÒÔÒ²Òª°ÑSWFObjectµÄ´úÂë·Åµ½.jsÎļþÖС£
˼·ÊÇÓÃdocument.write()°ÑÒýÓÃswfÎļþµÄ´úÂëд½øÒ³Ã棬Ȼºó°ÑflexÒªµ÷ÓõÄjsº¯Êý¶¼·Åµ½.j ......
Submitted by gouki on 2008, December 4, 11:47 PM. Javascript
ÓÃjavascript+vmlÀ´×ö¹¤×÷Á÷£¬È·ÊµÊǵÚÒ»´Î¿´µ½£¬ËùÒÔÎÒÔÚ¿´µ½ÓÐÕâ¸öÐÂÎŵÄʱºò£¬¾Í¾õµÃÌØ±ðµÄ³Ô¾ª¡£µ±ÄêµÄTRS¾ÍÊÇÒòΪÓÐÒ»¸öactivex°æµÄ¹¤×÷Á÷¿Ø¼þµÄCMS£¬µ¼ÖÂËûµÄ¼Û¸ñ·Ç³£µÄ¸ß£¬½ñÌìÄܹ»¿´µ½ÓÐjavascript°æµÄ£¬¾ªÑÈÊÇÄÑÃâµÄ¡£¡£¡£
Ö»ÊDz¢·ÇËùÓеĻúÆ÷¶¼Ö ......
Á˽âÒ»ÏÂÀàµÄ¸ÅÄJavaScript ±¾ÉíÊÇÒ»ÖÖÃæÏò¶ÔÏóµÄÓïÑÔ£¬ËüËùÉæ¼°µÄÔªËØ¸ù¾ÝÆäÊôÐԵIJ»Í¬¶¼ÒÀ¸½ÓÚijһ¸öÌØ¶¨µÄÀà¡£
ÎÒÃÇËù³£¼ûµÄÀà°üÀ¨£ºÊý×é±äÁ¿(Array)¡¢Âß¼±äÁ¿(Boolean)¡¢ÈÕÆÚ±äÁ¿(Date)¡¢½á¹¹±äÁ¿(Function)¡¢ÊýÖµ±äÁ¿(Number)¡¢¶ÔÏó±äÁ¿(Object)¡¢×Ö·û´®±äÁ¿(String) µÈ£¬¶øÏà¹ØµÄÀàµÄ·½·¨£¬Ò²ÊdzÌÐòÔ±¾³£Óõ½µÄ ......
.netÖÐǰ̨javascriptÓëºǫ́c#Ï໥µ÷ÓÃ
¡¡¡¡C#´úÂëÓëjavaScriptº¯ÊýµÄÏ໥µ÷ÓÃ
¡¡¡¡ÎÊ£º
¡¡¡¡1.ÈçºÎÔÚJavaScript·ÃÎÊC#º¯Êý?
¡¡¡¡2.ÈçºÎÔÚJavaScript·ÃÎÊC#±äÁ¿?
¡¡¡¡3.ÈçºÎÔÚC#ÖзÃÎÊJavaScriptµÄÒÑÓбäÁ¿?
¡¡¡¡4.ÈçºÎÔÚC#ÖзÃÎÊJavaScriptº¯Êý?
¡¡¡¡ÎÊÌâ1´ð°¸ÈçÏ£º
¡¡¡¡javaScriptº¯ÊýÖÐÖ´ÐÐC# ......