我的代码存在一些问题,因为我无法在VB.NET或C#中执行以下操作,因为VB.NET或C#中没有form1.submit()函数?在VB.NET或C#中没有Form.Submit()函数?
<script language="javascript">
function valSubmit(){
varMyReg = document.form1.lstCountry.options [document.form1.lstCountry.selectedIndex].value;
varNewReg = varMyReg.substring(0, 3);
document.form1.hdnRegion.value = varNewReg;
document.form1.action = "http://now.eloqua.com/e/f2.aspx"
document.form1.submit();
return true;
}
</script>
为什么在VB.NET或C#中可以这样做或怎么做?
浏览器中没有C#或VB.NET。 – leppie 2009-12-01 09:13:48