½â¾öie6ÏÂJavascriptÒ³ÃæÌø×ªºÍ±íµ¥Ìá½»ÎÊÌâ
¾³£ÔÚie6ϳöÏÖjavascriptÒ³ÃæÌø×ªºÍ±íµ¥Ìá½»ÎÊÌ⣬ie6ÏÂʵÏÖjavascriptÒ³ÃæÌø×ªºÍ±íµ¥Ìá½»ÐèÒª½øÐÐÌØ±ð´¦Àí£¬ÐèҪʹÓÃsetTimeout()º¯ÊýÑÓ³ÙʵÏÖ¡£
1£¬¼æÈݸ÷ä¯ÀÀÆ÷µÄJavascriptÒ³ÃæÌø×ª
setTimeout(function(){
window.location.href = url;
},0);
2£¬¼æÈݸ÷ä¯ÀÀÆ÷µÄJavascript±íµ¥Ìá½»
setTimeout(function(){
form.submit();
},0);
Ïà¹ØÎĵµ£º
javascriptʵÏÖµ¯³ö´øÍ¸Ã÷Ч¹ûµÄ¿ÉÍ϶¯Í¼²ã
×î¾ÒòΪÐèÒªÒ»¸öµ¯³öͼ²ãЧ¹û£¬µ¯³öͼ²ãµ¹ÊÇÈÝÒ×ʵÏÖ£¬µ«¾ßÓÐÍ϶¯Ð§¹ûÈ´²»ÖªÔõôȥʵÏÖ£¬ÔÚÍøÉÏ×îÖÕÕÒµ½ÁËÒ»¸öÐèÒªµÄЧ¹û£¬´úÂëÒ²²»¶à£¬Ò»¿´´úÂëµÄ¾«Á¶£¬ÖªµÀÔ×÷ÕßÓ¦¸ÃÊÇjavascript¸ßÊÖ¼¶±ðµÄÈË£¬ÏÖÔÚ¾ö¶¨½èÀ´Ò»Óã¬ÎÒ°ÑËüÂÔ¼ÓÃÀ» ......
´´½¨ÎĵµÔªËØ
document.createElement(nodename)
²åÈëÔªËØµ½Îĵµ½ÚµãÊ÷
parent.appendChild(child)
´´½¨Îı¾½Úµã
document.createTextNode(text)
ÔÚÏÖÓÐÔªËØÇ°²åÈëÐÂÔªËØ
parentElement.insertBefore(newElement,targetElement)
ÔÚÏÖÓÐÔªËØºó²åÈëÐÂÔªËØ£¨×ԱຯÊý£©
parentElement.insertAfter(newElement,targe ......
±¾Êé·âÃæÉϵ͝ÎïÊǺÓÂí£¨hippopotamus£©¡£ºÓÂíÔ²úÓÚ·ÇÖÞµÄijЩµØÇø£¬ÆÜÏ¢ÔÚºÓÖлòºÓ±ßµÄ²ÝµØÉÏ¡£ºÓÂíÃû×ÖµÄÔÎÄhippopotamus¾ÍÊÇÏ£À°ÎÄ¡°ºÓÂí¡±¡£ËüÃÇÓÐÅÓ´ó±¿ÖصÄÉíÇû£¬ÕûÈÕÀïÓÅÑŵØÔÚË®ÖÐ×ßÀ´×ßÈ¥¡£Ò¹ÀïºÓÂíÀ뿪ˮ±ßÈ¥ÃÙʳ¡£ËüÃǵÄʳÎïÖ÷ÒªÊDzݣ¬Ã¿Ìì150°õ£¬»¹ÓÐһЩˮÉúÖ²ÎïºÍÂä¹û¡£ºÓÂíûÓÐÊ²Ã´Ì ......
×ªÔØ×Ô£ºhttp://www.zipeng.info/archives/ppk-on-js-events.html
½ñÌìÎÒ»á˵һЩ¹ØÓÚJavaScriptʼþµÄÊÂÇ飬ÎÒºÜÏ£Íû×Ô¼ºÄÜÆô·¢´ó¼ÒһЩʲô£¬²»¹ý´ó»ï¶¼ÊǸßÊÖ£¬²»¹ÜÔõô£¬ÎÒ»¹ÊÇҪ˵˵
JavaScriptʼþ¡£
´óÔ¼Ò»ÄêǰÎÒ´òËã¶ÔJavaScriptµÄʼþ×öһЩÉîÈëµÄÑо¿£¬²¢ÇÒÎÒ×öÁËÒ»ÕżæÈÝÐÔµÄ±í£¬´ó¼Ò¿ÉÒÔͨ¹ýÏÂÃæÕâÀïÀ´
·ÃÎ ......
Ò»¸öͨÓõÄJavaScript·ÖÒ³
1.JavaScript´úÂë
Pagination=function(id)
{
var totalNum=0;
var maxNum=10;
var pageUrl="";
var breakpage = 5;
var currentposition = 0;
var breakspace = 2;
var maxspace = 4;
var currentpage=1;
var perpage=10;
var id =id;
this.initPage = function( ......