javascript doesn't work in Windows Server 2008 explorer 8
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...
精彩评论