日期:2014-05-16 浏览次数:20321 次
$.fn.map = {};
$.extend($.fn.map,
{
mapLeft: 340
});
alert($(document).map.mapLeft); //输出340
setInterval(function () { alert($(document).map.mapLeft); }, 1000);.//输出underfined
setInterval(function () { alert($(document).map.mapLeft); }, 1000);//输出underfined