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

ÕýÔò±í´ïʽÔÚphp£¬java£¬javascriptÖзֱðÓ¦ÓÃ

ÔÚjavascriptÖÐÓ÷¨¾ÙÀý
var rule = /^\d+$/;
if(!rule.test(addform.rmb_price.value)) {
alert('rmb_price must be number');
addform.rmb_price.focus();
return false;
}
ÔÚphpÖÐÓ÷¨¾ÙÀý
$aa = "/^\d+$/";
if(preg_match($aa, "111")) {
echo "found";
}
ÔÚjavaÖÐÓ÷¨¾ÙÀý


Ïà¹ØÎĵµ£º

Javascript¼Ì³Ð»úÖÆ£¨call¡¢apply¡¢prototype£©

JavascriptµÄ¼Ì³Ð¿ÉÒÔͨ¹ýcall¡¢apply¡¢prototypeʵÏÖ¡£
1¡¢call£ºÔÚ×ÓÀàÖУ¬Óø¸Àà.call£¨this£¬arg0£¬arg1...£©¿ÉÒԼ̳и¸Àà¡£×¢ÒâcallµÄλÖ㬾¡Á¿ÔÚ×ÓÀàµÄµÚÒ»ÐУ¨js°´Ë³ÐòÖ´ÐУ¬·ÅÔÚºóÃæ¿ÉÄܶÔ×ÓÀàµÄÆäËûÊôÐÔ¡¢·½·¨ÓÐÓ°Ïì¡£±ÈÈç×ÓÀàºÍ¸¸ÀàÓÐÏàͬÃû×ֵķ½·¨£¬ºóÃæµÄ¸²¸ÇÇ°ÃæµÄ£©¡£
<html>
<head>
<t ......

12ÖÖ²»ÒËʹÓõÄJavascriptÓï·¨


Õ⼸Ì죬ÎÒÔÚ¶Á¡¶JavascriptÓïÑÔ¾«´â¡·¡£
Õâ±¾ÊéºÜ±¡£¬100¶àÒ³£¬ÕýºÃ¼ÙÈÕÀï·­·­¡£
¸ÃÊéµÄ×÷ÕßÊÇDouglas Crockford£¬ËûÊÇÄ¿Ç°ÊÀ½çÉÏ×ͨJavascriptµÄÈËÖ®Ò»£¬Ò²ÊÇJson¸ñʽµÄ´´ÔìÕß¡£
ËûÈÏΪJavascriptÓкܶàÔãÆÉ¡£ÒòΪ1995ÄêBrendan EichÉè¼ÆÕâÖÖÓïÑÔµÄʱºò£¬Ö»ÓÃÁËÈý¸öÔ£¬ºÜ¶àÓïÑÔÌØÐÔûÓо­¹ýÉî˼ÊìÂÇ£¬¾ÍÍÆÏòÁËÊÐ ......

ÀûÓÃjavascriptʵÏÖÒ³ÃæÌøתµÄ¼¸ÖÖ·½·¨

°´Å¥Ê½£º
¡¡¡¡<INPUT name="pclog" type="button" value="GO" onClick="location.href='url'">
Ö±½ÓÌøתʽ£º
¡¡¡¡<script>window.location.href='url';</script>
<SCRIPT LANGUAGE="javascript">
<!--
window.open
('page.html' ......

È¥µôÔËÐÐJavaScriptʱIE²úÉúµÄ¾¯¸æÀ¸

ÔÚÄúµÄIEä¯ÀÀÆ÷ÉÏÔËÐк¬ÓÐJavaScript´úÂëµÄÒ³Ãæʱ¶¼»á²úÉúÒ»¸ö¾¯¸æ¡£Õâ¸ö“¾¯¸æ”ȷʵºÜ·³ÈË£¬²»ÖªÇéµÄÈË¿´ÁË»¹ÒÔΪÊDz¡¶¾Ê²Ã´ÄØ£¬ºÜÈÝÒ×ÈÃÈ˲úÉúÎó½â£¡
¼ÇµÃÍøÉÏÒ²ÓÐÈ˳ÆÆäΪ“IEµÄС»ÆÌõ¾¯¸æ”¡£¾ßÌåµÄʲô½Ð·¨ÎÒÃǽñÌì²»ÓùØÐÄ£¬ÎÒÃǹØÐĵÄÊÇÈçºÎÈ¥µôÕâ¸ö“¾¯¸æ”¡£¾ßÌå·½·¨ÈçÏ£º
µã»÷ ......

JavaScriptµ÷ÓÃdataTable²¢»ñÈ¡ÆäÖµ(ASP.Net,VS2005)

JavaScriptµ÷ÓÃdataTable²¢»ñÈ¡ÆäÖµ(ASP.Net,VS2005)
     ±¾¹¦ÄÜÖ÷ÒªÓõ½http://www.cnblogs.com/Hdsome/archive/2008/06/26/1230177.htmlÕâ¸öÐֵܵĴúÂ룬ÎÒÖ÷ÒªÊÇ×öÕûÀíºÍÀ©Õ¹¡£
     Ê×ÏÈÔÚhttp://www.codeplex.com/AjaxPro/Release/ProjectReleases.aspx?ReleaseId=713ÍøÖ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ