摘要: <input type="text" id="my" name="my" /><script type="text/javascript"> $("#my").focus();</script>上面的代码在IE下是没有任何问题的,但是不兼容FF,在FF没有反应解决办法:兼容写法 IE和FF下focus()事件完美兼容:<script type="text/javascript"> setTimeout(function () { 阅读全文
posted @ 2012-11-27 14:23 yuejin 阅读(4009) 评论(0) 推荐(0) 编辑