ÈçºÎÅжÏjavascriptÖвÎÊýÀàÐÍ£¬¶ÔÏóÀàÐÍ¡£
Ò»°ã£ºobject.constructor == String ;(String »òÕßNumber µÈµÈ )
ÌØÊ⣺ÅжÏÒ»¸öÊý×éArray
·½·¨1£º
Object
.prototype.toString.apply(value) ===
'[object Array]'
·½·¨2£º
ÓÃjQuery£¬ÆäʵºÍ·½·¨1ͬ¡£
$.isArray(object);
Ïà¹ØÎĵµ£º
ǰ¼¸ÌìÔÚ²âÊÔÍøÕ¾¼æÈÝÐÔÎÊÌ⣬·¢ÏÖÔÀ´ÔÚIEÏÂÃæÕý³£µÄÏÔʾʱ¼äÔÚFirefox»ñÈ¡Äê·ÝÏÂÏÔʾ109
&nb ......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>javascript</t ......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<title>ÎÞÏÞ¼¶Ê÷Ð ......
<mce:script type="text/javascript" src="../jquery-1.2.3-intellisense.js" mce_src="jquery-1.2.3-intellisense.js"></mce:script>
<mce:script type="text/javascript"><!--
$(function() {
dayuan(200, 500, 200, 270, -90);
set ......
1.javascript¤ÇURL¤Î"?"ÒÔ½µ¤Î¥Ñ¥é¥áー¥¿¤òÈ¡µÃ£º
var query = window.location.search.substring(1);
var pairs = query.split("&");
2.IEä¯ÀÀÆ÷ĬÈϵŦÄÜÍ£Ö¹
£¨Tab¼üÔÚµØÖ·À¸µÈÖеÄÒÆ¶¯Í£Ö¹£©
function stopDefaultKey(){
window.e ......