开发者

javascript doesn't work in Windows Server 2008 explorer 8

开发者 https://www.devze.com 2023-02-22 13:24 出处:网络
i have a web application that sits on IIS 7 inside a windows serve 2008, The web application has a button that calls a javascript function:

i have a web application that sits on IIS 7 inside a windows serve 2008, The web application has a button that calls a javascript function:

<td align="left">
  <button name="openWin" type="button" onclick="openAccountWin('<%#  GlobalUrl+"mypage.aspx?name="+Eval("biz") %>')">Company page</button>
 </td>

<script type="text/javascript">
function openAccountWin(url) {
    debugger;
    top.location.href = url;
}

when i push the button on the explorer, nothing happens. if i do it in firefox it work! when i do the same on a same application (same开发者_C百科 code) that sits in win 7 station with iis 7 too, it works too!.

i enabled javascript debugging, i lowered to the minimum the explorer trusted sites, and add the page to trusted sites. it must be an explorer problem...

0

精彩评论

暂无评论...
验证码 换一张
取 消