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

400¶à¸öJavaScriptÌØЧ´óÈ«

400¶à¸öJavaScriptÌØЧ´óÈ«£¬°üº¬È«²¿Ô´´úÂëºÍÏêϸ´úÂë˵Ã÷£¬²»¿É¶àµÃ
JavaScriptʵÏÖ¿ÉÒÔÍêÈ«×ÔÓÉÍÏקµÄЧ¹û£¬´øÈý¸ö·¶Àý     http://www.sharejs.com/showdetail-501.aspx 
javascriptʵÏÖ¿ÉÒÔ×ÔÓÉÍ϶¯µÄÊ÷ÐÎÁÐ±í     http://www.sharejs.com/showdetail-500.aspx 
´øÄ£¿é±à¼­¹¦ÄÜÍÏקЧ¹ûʵÏÖ     http://www.sharejs.com/showdetail-499.aspx 
JavaScriptÍÏק¸øÍøÒ³²¼¾ÖЧ¹û£¬¿á     http://www.sharejs.com/showdetail-498.aspx 
JavaScriptÍÏקЧ¹û - ʵÏÖÎÊ´ð±ÈÈüÓÎÏ·µÄ½Å±¾     http://www.sharejs.com/showdetail-497.aspx 
JavaScriptʵÏÖÍÏקָ¶¨µÄÄ£¿éµ½¿ò¼ÜÄÚ     http://www.sharejs.com/showdetail-496.aspx 
JavaScriptʵÏÖ¿Éͨ¹ýÍÏק½øÐÐÖØÅŵÄÎÄÕÂÁÐ±í     http://www.sharejs.com/showdetail-495.aspx 
JavaScriptʵÏÖ¿É×Ô¶¨ÒåÅÅÐòµÄ±í¸ñ     http://www.sharejs.com/showdetail-494.aspx 
JavaScriptʵÏÖ¿É×Ô¶¨ÒåÅÅÐòµÄ±í¸ñ     http://www.sharejs.com/showdetail-493.aspx 
JavaScriptʵÏÖXPЧ¹ûµÄTabÇл»±êÇ©¹¦ÄÜ     http://www.sharejs.com/showdetail-492.aspx 
µã»÷Îı¾¿ÉÒÔÖ±½Ó½øÐб༭µÄJavaScript½Å±¾     http://www.sharejs.com/showdetail-490.aspx 
JavaScriptʵÏÖ¿É×Ô¶¨ÒåµÄÑÕÉ«ÌáÈ¡Æ÷     http://www.sharejs.com/showdetail-489.aspx 
´¿CSSʵÏÖËæÒâ¸ü»»Í¼±êµÄ»·Ðβ˵¥     http://www.sharejs.com/showdetail-488.aspx 
³¬¿áµÄ±íµ¥ÏîÄ¿ÌáʾÐÅÏ¢¿ò     http://www.sharejs.com/showdetail-487.aspx 
¸ßÁÁÏÔʾѡÖеÄÎı¾ÊäÈë¿ò     http://www.sharejs.com/showdetail-486.aspx 
Ò»¸öÁù½ÇÐεġ¢ÀàËÆÂí·äÎѵIJ˵¥     http://www.sharejs.com/showdetail-485.aspx 
JavaScript¶¯Ì¬±íµ¥ÑéÖ¤½Å±¾     http://www.sharejs.com/showdetail-484.aspx 
JavaScriptʵÏÖÁ½¸ö¶àÑ¡¿òµÄÊý¾Ý½»»»´úÂë     http


Ïà¹ØÎĵµ£º

JavaScript ×Ö·û´®×ª»»Êý×Ö

À´Ô´£ºhttp://blog.csdn.net/yjq8116/archive/2008/11/04/3219993.aspx
·½·¨Ö÷ÒªÓÐÈýÖÖ
ת»»º¯Êý¡¢Ç¿ÖÆÀàÐÍת»»¡¢ÀûÓÃjs±äÁ¿ÈõÀàÐÍת»»¡£
1. ת»»º¯Êý
jsÌṩÁËparseInt()ºÍparseFloat()Á½¸öת»»º¯Êý¡£Ç°Õß°Ñֵת»»³ÉÕûÊý£¬ºóÕß°Ñֵת»»³É¸¡µãÊý¡£Ö»ÓжÔStringÀàÐ͵÷ÓÃÕâЩ·½·¨£¬ÕâÁ½¸öº¯Êý²ÅÄÜÕýÈ·ÔËÐУ»¶ÔÆäËûÀàÐÍ·µ» ......

JavaScript ×Ö·û´®×ª»»Êý×Ö

·½·¨Ö÷ÒªÓÐÈýÖÖ
ת»»º¯Êý¡¢Ç¿ÖÆÀàÐÍת»»¡¢ÀûÓÃjs±äÁ¿ÈõÀàÐÍת»»¡£
1. ת»»º¯Êý
jsÌṩÁËparseInt()ºÍparseFloat()Á½¸öת»»º¯Êý¡£Ç°Õß°Ñֵת»»³ÉÕûÊý£¬ºóÕß°Ñֵת»»³É¸¡µãÊý¡£Ö»ÓжÔStringÀàÐ͵÷ÓÃÕâЩ·½·¨£¬ÕâÁ½¸öº¯Êý²ÅÄÜÕýÈ·ÔËÐУ»¶ÔÆäËûÀàÐÍ·µ»ØµÄ¶¼ÊÇNaN(Not a Number)¡£
ÔÚÅжÏ×Ö·û´®ÊÇ·ñÊÇÊý×Öֵǰ£¬parseInt()ºÍ ......

ÍêÃÀµÄËõ·ÅͼƬµÄ javascript ´úÂë¡£

ÔÚ×öÍøÕ¾µÄʱºò£¬ÎÒÃǾ­³£ÐèÒª¶Ô³ß´ç³¬±êµÄͼƬ½øÐÐËõ·Å¡£
ÓÉÓÚä¯ÀÀÆ÷µÄ²îÒ죬ÓÐЩ´úÂëijЩä¯ÀÀÆ÷¹¤×÷²»Õý³£¡£
¾­¹ýÑо¿µÃµ½ÁËÒÔϵĴúÂ룬Ëü¿ÉÒÔÔÚIE6,IE8,FireFoxÖÐÍêÃÀµØ°´±ÈÀýËõ·ÅͼƬ¶ø²»Ê§Õæ¡£
//¸Ä±äͼƬ´óС
function resizepic(o)
{
var maxwidth=550;   //¶¨Òå×î´ó¿í¶È
var maxheight=800;&nbs ......

ÓÃAcrobat JavaScript¹Ø±ÕPDF

function openCheck()
{
if (!this.external)
{
app.alert("Acrobat¤Ç¤Ï実ÐФǤ­¤Þ¤»¤ó");
this.closeDoc(true);
// var myDoc = event.target;
// myDoc.closeDoc(true);
}
}
openCheck();
 
ÐèҪעÒâµÄÊÇ:
1. ÉÏÊöµÄsourceÖ»ÄÜÔÚPDF ÓÃAcrobat Reader´ò¿ªÊ±²ÅÆð×÷ÓÃ,
ÈçÓÃIEµÈ´ò¿ªÊ±»á±¨¡¸NotSu ......

Javascript ÉèÖÃtextareaÊäÈë¿òµÄ×î´óÖµ

<html>
  <head>
  <title>²âÊÔÊäÈë×Ö·û</title>
  <script language=javascript>  
  String.prototype.lenB =function(){
    return this.replace(/[^\x00-\xff]/g,"**").length;
  }  
  function  a() ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ