3条回答 默认 最新
danielinbiti 2015-05-11 04:30关注<!DOCTYPE html> <html> <body> <div id='dvshow'>1111</div> <script> function reloadbarcode(c){ var rpturl = window.location.href+"?cnt="+c; window.location.href = rpturl; } if(window.location&&window.location.toString().indexOf('cnt=')<0){ document.getElementById('dvshow').innerHTML = '1111'; setTimeout('reloadbarcode(1)',2000); }else{ document.getElementById('dvshow').innerHTML = '2222'; } </script> </body> </html>解决 无用评论 打赏 举报
