asp.net应用程序部署在我自己的机器上自动生成的__doPostBack为:
----------------------------------------------------------------------
<script language="javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {   
theform = document.forms["RenderTable"];
}
else {
theform = document.RenderTable;
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>
------------------------------------------------------------------------------
部署在虚拟主机上生成的__doPostBack为:
-----------------------------------------------------------------------<script language="javascript" type="text/javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
theform = document.RenderTable;
}
else {
theform = document.forms["RenderTable"];
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>------------------------------------------------------------------------都是用我机器的IE浏览唯一的不同就是:
我的机器上的程序:  window.navigator.appName.toLowerCase().indexOf("netscape")
虚拟主机上的程序: (window.navigator.appName.toLowerCase().indexOf("microsoft")可是却导致我很多用javascript的操作失败。怎么会产生这样情况,难道对方不是windows系统,如果这样,对我有什么影响,如何解决?请高手指点,多谢