asp.netÒ³ÃæʵÏֻسµµã»÷°´Å¥JavaScriptʵÏÖ
»Ø³µµã»÷°´Å¥
Ö»ÐèÔÚ.aspxÒ³Ãæ´úÂëÖмÓÈëÒ»¶ÎJavaScript¼´¿É£º
<script type="text/javascript" language="javascript">
document.onkeydown = Check;
function Check(){
var gk=event.keyCode;
if(gk==13) {
document.all("btnLogin").focus();
return;
}
}
</script >
Ïà¹ØÎĵµ£º
¿ì¹ýÄ꣬ºÃ¾Ãûдʲô¶«Î÷ÁË¡£²»ÖªµÀ×î½üÊÇ̫æÁË£¬»¹ÊÇ×Ô¼ºÓеãÀÁ£¬Ð´Ð©×Ô¼º»ýÀ۵Ķ«Î÷¡£¶¼ÊÇЩ×î»ù±¾µÄÓ¦Ó㬺ʹó¼Ò·ÖÏíÏ¡£
ÑéÖ¤ÂëÔںܶàµØ·½¶àÓõ½£¬ÍøÉϸ÷ÖÖÐÎÐÎÉ«É«µÄ´úÂëÒ³ºÜ¶àÁË£¬ÎÒ¾ÍÊÇ´ò·¢µãʱ¼äддÁË¡£
ÔÀí£ºÍ¨¹ýGUI+Éú³ÉÓÐËĸöÊý×ÖµÄͼƬ£¬½«ËĸöÊý×Ö´æ·Åµ½SessionÖУ¬È»ºóͨ¹ýÑéÖ¤ÄãÊäÈëµÄÑéÖ¤ÂëºÍSession ......
This tool will let you optimize your JavaScript (JScript) code by removing comments, whitespace as well as other unnecessary characters as well as by optionally shortening function / variable / class names.
http://www.xtreeme.com/javascript-optimizer/ ......
¹ÛÆä´óÂÔ£º
1.
Asp.netÊÇÒÀ´æÓÚ IISµÄÒ»¸ö·þÎñ£¬Ëµµ½ Asp.netµÄ°²È«Ïà¹ØµÄ»°Ì⵱ȻҪÓÐÒ»¸öÕûÌåÉϵÄ˼·£º IIS½ÓÊÕ —¡· IISÑéÖ¤ —¡· IISÊÚȨ ---¡· ASP.netÑéÖ¤ ---¡· Asp.netÊÚȨ ---¡·×ÊÔ´·µ»Ø¸øÓû§
IIS´ÓÍøÂçÉϽÓÊÕµ½Ò»¸ö HTTP WEBÇëÇó¿ÉÒÔʹÓà SSL¼¼ÊõÀ´±£Ö¤·þÎñÆ÷µÄÉí·Ý£¬´ËÍâ SSLÒ²¿ÉÒÔÌṩһ¸ö°²È ......