<script id='host' type='text/x-jquery-tmpl'>
<div class="remote-active-host" onclick="op_active_host_click('${code}')"> 
</div>
</script><div id="menu">
<div id="remote_active_host_list" onblur="active_host_list_onblur()"
</div>
</div>
chrome,firefox里都是正常。
在IE7,IE8,IE9里面,都是不执行onclick 直接执行 onblur 这个怎么解决?
我希望先出发onclick,然后再触发onblur。

解决方案 »

  1.   

    <script id='host' type='text/x-jquery-tmpl'>
    <div class="remote-active-host" onclick="op_active_host_click('${code}')">
    </div>
    </script>这样写不报错?你确定在chrome,firefox里都是正常?
      

  2.   

    好吧,看走眼了,type='text/x-jquery-tmpl'
      

  3.   

    用对象.onclick = function(){
    这里先执行onclick事件
    然后在执行onblur事件
    };
      

  4.   

    对的 在火狐 chrome都没问题,onclick的函数触发不了 直接执行onblur函数的触发
    除了IE在其他所有的浏览器中都正常 很是郁闷啊 这个问题一直没有搞定 郁闷哎 希望高人出现