JavaScript ÈýÖÖ¹¹Ôì¶ÔÏóµÄ·½·¨
//µÚÒ»ÖÖ¹¹Ôì·½·¨: new Object()
var a = new Object();
a.x = 1, a.y = 2;
//µÚ¶þÖÖ¹¹Ôì·½·¨: ¶ÔÏóÖ±½ÓÁ¿
var b = {x:1,y:b};
//µÚÈýÖÖ¹¹Ôì·½·¨: ¶¨ÒåÀàÐÍ
function Point(x,y)
{
this.x = x;
this.y = y;
}
var p = new Point(1,2);
Ïà¹ØÎĵµ£º
JavascriptË¢ÐÂÒ³ÃæµÄ¼¸ÖÖ·½·¨£º
³ÌÐò´úÂë
1 history.go(0)
2 location.reload()
3 location=location
4 location.assign(location)
5 document.execCommand('Refres ......
תÔØ×Ô http://hi.baidu.com/leizuman/blog/item/b9e93f015e86f20e7bec2cde.html
1.xmlÎļþÈçÏ£º
<?xml version="1.0" encoding="UTF-8"?>
<zip>
<city>
mycity</city>
<state>mystate</state>
</zip>
2.¶Á´ËxmlµÄjavascriptÀý×Ó£º
<!DOCTYPE HTML PUBLIC "-//W3C/ ......
JavaScriptÖÐescape() º¯Êý¿É¶Ô×Ö·û´®½øÐбàÂ룬ÕâÑù¾Í¿ÉÒÔÔÚËùÓеļÆËã»úÉ϶ÁÈ¡¸Ã×Ö·û´®¡£Ê¹Ó÷½·¨£º
escape(charString)
charstringÊDZØÑ¡ÏҪ±»×ªÒå»ò±àÂëµÄ×Ö·û´®¡£
escape ·½·¨·µ»ØÒ»¸ö°üº¬ÁË charstring ÄÚÈݵÄ×Ö·û´®Öµ£¨ Unicode ¸ñʽ£©¡£ËùÓпոñ¡¢±êµã¡¢ÖØÒô·ûºÅÒÔ¼°ÆäËû·Ç ASCII ×Ö·û¶¼Óà %xx ±àÂë´úÌ棬ÆäÖ ......
0.Á´½ÓcssÎļþºÍjsÎļþ
<link rel="stylesheet" href="../css/style.css" mce_href="css/style.css" type="text/css">
<mce:script language="javascript" src="../includes/jslib.js" mce_src="includes/jslib.js" ></mce:script>
1.¹Ø±ÕÊäÈë·¨
<input style="ime-mode ......