AjaxÌØЧ ¸ù¾ÝÓÊÕþ±àÂë»ñÈ¡µØÇøÐÅÏ¢ Ö®Ò»
ÔںܶàϵͳÖУ¬ÐèÒªÓû§Ìîд¸öÈË×ÊÁÏ£¬ÆäÖаüº¬µØÇø¡¢³ÇÊС¢ÓÊÕþ±àÂëµÈÐÅÏ¢¡£¶øÓÊÕþ±àÂë±¾Éí°üº¬Á˵ØÇøºÍ³ÇÊÐÐÅÏ¢£¬ËùÒÔ¿ÉÒÔÀûÓô˹æÔò¼ò»¯²Ù×÷¡£Óû§Ö»ÐèÒªÊäÈëÓÊÕþ±àÂ룬ϵͳ¸ù¾ÝÓÊÕþ±àÂë×Ô¶¯È¡µÃµØÇøÐÅÏ¢¡£ÕâÑù×öʹµÃÓû§¿ÉÒÔ»ñµÃ¸üºÃµÄʹÓÃÌåÑ飬Ҳ¿ÉÒÔ¼õÉÙ´íÎóµÄ·¢Éú¡£
ҪʵÏÖ×Ô¶¯»ñÈ¡µØÇøÐÅÏ¢£¬Ö÷Òª¿¼ÂÇ3¸öÎÊÌ⣺ÓʱàÕýÈ·ÐÔ±£Ö¤£¬´¥·¢×Ô¶¯»ñÈ¡µÄʱ»ú£¬·µ»ØÐÅÏ¢µÄ¸ñʽ¡£
1£®ÀûÓÃonkeypressʼþ½øÐмì²éÊäÈëµÄ×Ö·û
Óʱà¾ùÓÉÊý×Ö×é³É£¬ÎªÁ˱£Ö¤Óû§²»ÊäÈëÊý×ÖÒÔÍâµÄÄÚÈÝ£¬¿ÉÒÔÀûÓÃonkeypressʼþ½øÐмì²é¡£µ±Óû§ÔÚÓʱàÎı¾¿òÖÐÊäÈë×Ö·ûʱ£¬´¥·¢¸Ãʼþ¡£Í¨¹ýÔÚ´¥·¢º¯ÊýÖе÷ÓÃevent.keyCodeÊôÐÔÅжϰ´¼ükeyCodeµÄÖµÊÇ·ñ´¦ÓÚ48~57Ö®¼ä£¨¶ÔÓ¦Êý×Ö0~9£©¡£Èç¹ûÔÚ·¶Î§Ö®Í⣬Ôò˵Ã÷ÊäÈëµÄ²»ÊÇÊý×Ö£¬Í¨¹ýÉèÖÃevent.returnValue = falseʹ±¾´Î°´¼üʼþʧЧ¡£ÕâÑù¾Í¿ÉÒÔ±£Ö¤Óû§ÊäÈëµÄ×Ö·û¾ùΪÊý×Ö¡£
2£®Óû§½«½¹µãÒƳöÓʱàÎı¾¿òʱ×Ô¶¯»ñÈ¡µØÇøÐÅÏ¢
µ±Óû§½«ÓʱàÊäÈëÍê±Ïºó£¬»á½«½¹µãÒƳöÓʱàËùÔÚÎı¾¿ò£¬´Ëʱ¿Éͨ¹ýonblurʼþ´¥·¢getPostalCodeº¯ÊýÒÔ»ñÈ¡µØÇøÐÅÏ¢¡£ÔÚÏò·þÎñÆ÷·¢ËÍÇëÇó֮ǰ£¬ÏÈÅжÏÓû§ÊäÈëµÄÓʱàÊÇ·ñÊÇ6λÊý×Ö¡£Èç¹ûÊý×ÖλÊý²»ÕýÈ·£¬Ôò²»ÐèÒªÏò·þÎñÆ÷·¢³öÇëÇó¡£
3£®½«µØÇøºÍ³ÇÊÐÐÅÏ¢×÷Ϊһ¸ö×Ö·û´®·µ»Ø¸ø¿Í»§¶Ë
¸ù¾ÝÓÊÕþ±àÂëµÄÇ°4λ¼´¿ÉÅжϳöµØÇøºÍ³ÇÊеÄÐÅÏ¢£¬ËùÒÔÔÚ·þÎñÆ÷¶Ë¿ÉÒÔÏÈʹÓÃÈ«²¿6λ±àÂë½øÐвéÕÒ¡£ÕÒµ½ÐÅÏ¢ºó¿ÉÖ±½Ó·µ»Ø£¬Èç¹ûûÓÐÕÒµ½£¬¿ÉÈ¡Ç°4λºó²¹“00”¼ÌÐø²éÕÒ¡£²éÕÒ½áÊøºó£¬·µ»ØµÄÐÅÏ¢ÀûÓÓ|”×÷ΪµØÇøºÍ³ÇÊеķָô·û£¬ÔÚ¿Í»§¶ËʹÓÃsplit(“|”)·½·¨ÔÙ¶Ô×Ö·û´®½øÐзָ¿É¡£Èç¹ûÎÞ·¨Í¨¹ýÓÊÕþ±àÂë²éÕÒµ½µØÇøÐÅÏ¢£¬·þÎñÆ÷½«·µ»ØÒ»¸ö¿Õ×Ö·û´®£¬¿Í»§¶Ë½ÓÊÕµ½ÒÔºó²»ÐèÒª×öÈκβÙ×÷£¬´ËʱÓû§¿ÉÒÔ×ÔÐÐÊäÈëµØÇøºÍ³ÇÊÐÐÅÏ¢¡£
Ïà¹ØÎĵµ£º
ǰ̨´úÂ룺
<head runat="server">
<title>ÎÞ±êÌâÒ³</title>
<script src="Ajax.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server">
<div&g ......
±¾ÆªÎÄÕÂÖ÷Òª½éÉÜÈçºÎÔÚAjaxµÄ¿Í»§¶ËÓë·þÎñ¶ËÖ®¼ä´«ËÍJSON¸ñʽµÄÊý¾Ý¡£ÄÇôÎÒÃÇÏÈÀ´ËµËµÊ²Ã´ÊÇJSON°É¡£
JSON£¬¼´ÊÇJavaScript¶ÔÏó±ê¼Ç·¨£¬Ó¢ÎÄÃû³ÆÊÇJavaScript Object Notation£¬¼ò³ÆJSON
£¬ÊÇ JavaScript Programming Language,
Standard
ECMA-262 3rd Edition - December 1999
µÄ×Ó¼¯ºÏ£¬ÊÇ´ÓJavaScriptµÄo ......
Ajax Slideshow
http://drupal.org/project/ajax_slideshow
View
CVS instructions
Modules · Content display
udig - October 17, 2009 - 12:05
Sequential presentation of any of your site nodes, using fade effect based on ajax asynchronous calls.
Why?
Indeed there are plenty of slideshow modules ......
Õ⼸ÌìÒ»Ö±ÔÚÑо¿treeTable£¨ÊÇÒ»¿îjQueryµÄ²å¼þ£©£¬Õâ¿î²å¼þ½«ÆÕͨµÄ±í£¬±ä³ÉÒ»¸ö¿ÉÒÔÊÕËõµÄtreeTable¡£ÕâÖÖ±í¸ñÖ÷ÒªÓ¦ÓÃÓÚȨÏÞ´¦Àí£¬¿ÉÒÔʹÓû§Ò»Ä¿ÁËÈ»µØ¿´¼û¸÷¸ö×ÊÔ´µÄ¼Ì³Ð¹Øϵ¡£ ÉÏͼ¾ÍÊÇÒ»¸ö¼òµ¥µÄtreeTableͼÀý¡£ µ«ÊǸñíÊÇÒ»¸ö¾²Ì¬µÄ±í£¬±í¸ñÀïµÄÄÚÈÝÊÇÒ»´ÎÐÔ´Ó·þÎñÆ÷ÉÏ»ñÈ¡ÏÂÀ´£¬È»ºó²å¼þ¸ù¾ÝtrµÄidÒÔ¼°clas ......
Figure A MaskedEdit À©Õ¹Æ÷ÊôÐÔ
ÊôÐÔ
ĬÈÏÖµ
˵Ã÷
AcceptAMPM
False
Ò»¸ö²¼¶ûÊôÐÔ£¬ÓÃÓÚָʾÊÇ·ñӦʹÓà AM/PM ·ûºÅ¡£
AcceptNegative
None
ָʾÊÇ·ñÔÊÐíʹÓøººÅ (-)¡£À´×Ô MaskedEditShowSymbol ö¾ÙµÄ¿ÉÓÃÖµ°üÀ¨£ºNone¡¢Left ºÍ Right¡£
AutoComplete
True
Ò»¸ö²¼¶ûÊôÐÔ£¬ÓÃÓÚÖ¸Ê ......