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

Jquery,Ò»¸ö·Ç³£ºÃÓõÄjavascript¿ò¼Ü,1.4°æ·¢²¼

ÓÃjquery-1.2.3×ö¹ý¼¸¸öÓ¦ÓÃ,¾õµÃºÜºÃÓÃ. Õâô¿ì,1.4°æÓÖ·¢²¼ÁË,À´×ÔcsdnµÄ±¨µÀ:
CSDN±¨µÀ À´×Ôjquery¹Ù·½ÍøÕ¾µÄÏûÏ¢£¬Ä¿Ç°×îÁ÷ÐеÄJavaScript/Ajax¿âjQueryа汾1.4ÒѾ­·¢²¼£¬ÎªjQueryÏîÄ¿4ÖÜÄê14ÌìÇì×£ËÍÉÏÒ»·Ý´óÀñ¡£
1.4µÄѹËõ°æÖ»ÓÐ23K£¬Î´Ñ¹Ëõ°æ154K¡£´ËÍ⣬GoogleÒ²ÔÚ×Ô¼ºµÄ·þÎñÆ÷ÉÏÌṩÁ˸±±¾£¬×÷ΪGoogle Ajax APIµÄÒ»²¿·Ö£¬¿ÉÒÔÖ±½ÓÒýÓá£
jQuery 1.4¶Ô´úÂë¿â½øÐÐÁËÄÚ²¿ÖØд×éÖ¯£¬¿ªÊ¼½¨Á¢Ò»Ð©·ç¸ñ¹æ·¶¡£ÀϵÄcore.jsÎļþ±»·ÖΪattribute.js, css.js, data.js, manipulation.js, traversing.jsºÍqueue.js¡£CSSºÍattributeµÄÂß¼­·ÖÀë¡£²¢ÐÞÕýÁË207¸öÀÏ°æ±¾µÄ´íÎó¡£
Ö÷ÒªÐÂÌØÐÔÓУº
1. ³£Ó÷½·¨µÄÐÔÄÜ´ó·ùÌáÉý¡£ÖØдÁ˴󲿷ֽÏÔçÆڵĺ¯Êý¡£
2. ¸üÈÝÒ×ʹÓõÄÉèÖú¯Êý£¨setter function£©¡£ÎªËùÓжÔÏóÐÂÔöÁËÐí¶àÒ×ÓõÄÉèÖú¯Êý¡£
3. Ajax·½ÃæµÄ¸Ä½ø¡£ÒýÈëÁËÐí¶àAjaxºÍJSON´¦Àí·½ÃæµÄ¸üУ¬°üÀ¨HTML5ÔªËصÄÐòÁл¯¡£
´ËÍ⣬attribute£¨¸Ä½øÁË.attr()µÄÐÔÄÜ£©¡¢jQuery()ºËÐĺ¯Êý¡¢CSS£¨.css()ÐÔÄÜÓÐÁ½±¶ÌáÉý£©¡¢ÌØЧºÍʼþ¡¢DOM²Ù×÷µÈÒ²ÓÐÏÔÖø¸Ä½ø¡£
¡¾ÍⲿÁ´½Ó¡¿
jQueryµÄз½·¨¿ÉÒÔ·ÃÎÊhttp://api.jquery.com/category/version/1.4/¡£
ÏÂÔØÒ³ÃæºÍ¸ü¶àÐÅÏ¢¿ÉÒÔ·ÃÎÊhttp://jquery14.com/day-01/jquery-14¡£


Ïà¹ØÎĵµ£º

ÌìÆøÔ¤±¨ WebService Web JavaScript µ÷ÓôúÂë

javascript, webservice, ÌìÆøÔ¤±¨
ÔËÐÐÑÝʾ£¬Çëµã»÷ÕâÀ>>ÌìÆøÔ¤±¨ WebService JavaScript WebÒ³Ãæµ÷ÓôúÂ룬תÔؼ°Ê¹ÓøôúÂ룬Çë±£Áô×÷ÕßÐÅÏ¢£¬ÆäËü²¿·ÖÄú¿ÉÈÎÒâÐ޸ġ£
Ô´´ú碼£º
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCT ......

JavaScript »ñµÃÒ³ÃæÇøÓò´óСµÄ´úÂë

ÍøÒ³¿É¼ûÇøÓò¿í£º document.body.clientWidth
ÍøÒ³¿É¼ûÇøÓò¸ß£º document.body.clientHeight
ÍøÒ³¿É¼ûÇøÓò¿í£º document.body.offsetWidth (°üÀ¨±ßÏߵĿí)
ÍøÒ³¿É¼ûÇøÓò¸ß£º document.body.offsetHeight (°üÀ¨±ßÏߵĸß)
ÍøÒ³ÕýÎÄÈ«ÎÄ¿í£º document.body.scrollWidth
ÍøÒ³ÕýÎÄÈ«Îĸߣº document.body.scrollHeight
ÍøÒ ......

javascriptÔÚalert֮ǰתÒåµ¥ÒýºÅ

¶ÔÓÚ1¸öµ¥ÒýºÅ£¬ÔòתÒå¸Ãµ¥ÒýºÅ
¶ÔÓÚ1¸ö·´Ð±¸Ü¸ú1¸öµ¥ÒýºÅ£¬Ôò²»¹ÜËü¡£
¶ÔÓÚ2¸ö¼°ÒÔÉϵķ´Ð±¸Ü¼ÓÒ»¸öµ¥ÒýºÅ£¬Ôò·Ö±ð¶Ôÿ¸ö·´Ð±¸ÜºÍµ¥ÒýºÅ¶¼½øÐÐתÒ壬¼´ ʹ·´Ð±¸ÜÊýÄ¿±£³Ö²»±ä£¬ ²¢×ªÒåµ¥ÒýºÅ¡£
 

/// <summary>
/// ¶ÔÓÚµ¥ÒýºÅ¶øÑÔ£¬ÈôÇ°ÃæÓÐżÊý¸ö·´Ð±¸ÜÔòÒì³££¬ÆæÊý¸ö·´Ð±¸ÜÔòÕý³£
/// < ......

JavaScript ÕýÔò±í´ïʽ¾­µäʵÀýÕûÀí

 <html>
<head>
<title>test javaScript</title>
//cssÉèÖÃͼÏñµÄ͸Ã÷¶È
<mce:style><!--
img
{
filter:alpha(opacity=10)
}
--></mce:style><style mce_bogus="1">img
{
filter:alpha(opacity=10)
}</style>
<mce:script type="text/javasc ......

ÀûÓÃJAVASCRIPTÈÃIFRAME¿ò¼ÜµÄ¸ß¶È×ÔÊÊÓ¦

Ò³ÃæÄÚǶ²»Í¬µÄÍøÒ³ÄÚÈÝʱ£¬µ¼ÖÂiframeµÄ¸ß¶ÈÎÞ·¨ÓëʵÏÖÄÚÈÝ»òä¯ÀÀÆ÷¸ß¶ÈÏàÆ¥Åä¡£´°¿Ú´óС±ä»»Ê±£¬²»ÄÜiframe²»ÄܽøÐÐ×Ô¶¯µ÷Õû¡£ÕâÀÎÒÃÇÀûÓÃJAVASCRIPTÈÃIFRAME¿ò¼ÜµÄ¸ß¶È×ÔÊÊÓ¦¡£
Ê×ÏÈ£¬Ð´³öÈçϵÄJS·½·¨¡£
/**
* ÄÚǶҳÃæµÄ¸ß¶ÈÉèÖÃ
*/
function handleFrameLoad() {
var hDoc = getBodyHeight(document);
var ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ