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

IEºÍFireFoxµÄ¼æÈݵÄjavascript»Ø³µÊ¼þ

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">

<title>Óû§µÇ¼ - ¾­Âç×ÔÎÒɨÃèÓû§ÖÐÐÄ</title>
<link href="./login.css" mce_href="login.css" type="text/css" rel="stylesheet" />
<mce:script src="JS/¸±±¾ login.js" mce_src="JS/¸±±¾ login.js" type="text/javascript"></mce:script>

<mce:script type="text/javascript"><!--
function SetFocus() {
document.getElementById('tbUserName').focus();
}
////Õâ¸öº¯ÊýÕâÄÜÕë¶ÔIE
// function document.onkeydown()
// {
// if (event.keyCode == 13)
// {
// if (document.getElementById("tbPassword").value != '' && document.getElementById("tbUserName").value != '')
// {
// return CheckNull();
// //document.getElementById("tbPassword").focus();
// // return false;
// }
// }
//
// }
//
// //Õâ¸öº¯Êý¿ÉÒÔÂú×ãÆäËûä¯ÀÀÆ÷
// function show(e){
//var ev = window.event|| e;
// if(ev.ctrlKey&&ev.keyCode==13)
// if (document.getElementById("tbPassword").value != '' && document.getElementById("tbUserName").value != '')
// {
// return CheckNull();
// }
//}
document.onkeydown = function(event)
{
var event = event ? event : window.event;
if (event.keyCode == 13)
{
var btn = document.getElementById("btnLogin");
btn.focus();
btn.onclick();
}
};




function Button1_onclick() {
return


Ïà¹ØÎĵµ£º

³£ÓõÄJavaScriptÑéÖ¤ÕýÔò±í´ïʽ

±¾ÎĽ«½éÉܼ¸¸ö³£ÓõÄJavaScriptÑéÖ¤ÕýÔò±í´ïʽ£¬ÕâЩ×ÊÁÏÏ£Íû¶Ô´ó¼ÒÔÚʵ¼Ê±à³Ì¹ý³ÌÖÐÆðµ½°ïÖú×÷Óá£
Æ¥ÅäÖÐÎÄ×Ö·ûµÄÕýÔò±í´ïʽ£º [u4e00-u9fa5]
ÆÀ×¢£ºÆ¥ÅäÖÐÎÄ»¹ÕæÊǸöÍ·ÌÛµÄÊ£¬ÓÐÁËÕâ¸ö±í´ïʽ¾ÍºÃ°ìÁË
Æ¥ÅäË«×Ö½Ú×Ö·û(°üÀ¨ºº×ÖÔÚÄÚ)£º[^x00-xff]
ÆÀ×¢£º¿ÉÒÔÓÃÀ´¼ÆËã×Ö·û´®µÄ³¤¶È£¨Ò»¸öË«×Ö½Ú×Ö·û³¤¶È¼Æ2£¬ASCII×Ö·û ......

JavaScript replace() ·½·¨

JavaScript replace() ·½·¨
JavaScript String ¶ÔÏó²Î¿¼ÊÖ²á
¶¨ÒåºÍÓ÷¨
replace() ·½·¨ÓÃÓÚÔÚ×Ö·û´®ÖÐÓÃһЩ×Ö·ûÌæ»»ÁíһЩ×Ö·û£¬»òÌæ»»Ò»¸öÓëÕýÔò±í´ïʽƥÅäµÄ×Ó´®¡£
Óï·¨
stringObject.replace(regexp,replacement)
²ÎÊýÃèÊö
regexp
±ØÐè¡£¹æ¶¨ÁËÒªÌæ»»µÄģʽµÄ RegExp ¶ÔÏó¡£Çë×¢Ò⣬Èç¹û¸ÃÖµÊÇÒ»¸ö×Ö·û´®£¬Ôò½ ......

javascript withÓ÷¨(ת)

with
(object)
   statements
²ÎÊý
object
еÄĬÈ϶ÔÏó¡£
statements
Ò»¸ö»ò¶à¸öÓï¾ä£¬object ÊǸÃÓï¾äµÄĬÈ϶ÔÏó¡£
˵Ã÷
with
Óï¾äͨ³£ÓÃÀ´Ëõ¶ÌÌض¨ÇéÐÎϱØÐëдµÄ´úÂëÁ¿¡£ÔÚÏÂÃæµÄÀý×ÓÖУ¬Çë×¢Òâ Math µÄÖظ´Ê¹Óãº
x = Math.cos(3 * Math.PI) + Math.sin(Math.LN10)
y = Math.tan(14 * ......

JavaScriptº¯Êý¶¨ÒåÓï·¨×ܽá

JavaScript
º¯Êý¶¨ÒåÓï·¨×ܽá
×÷Õß

»Æ³Ï
QQ
Ⱥ£º
65643887
1
£®Õý³£µÄ¶¨Òå·½·¨£º
function functionName([arguments]){
    
Javascript statements
    
[return expression]
}
Àý
1:
function evalScript( i, elem ) {
     &n ......

JavaScript Óõ½alert³öÂÒÂëÎÊÌâ

             response.write "<script language='javascript'>"
             response.write "alert('Óû§Ãû»òÃÜÂë´íÎó!');"
             response.write "hist ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ