日期:2014-05-20  浏览次数:20722 次

关于页面跳转,简单的问题,但是...
string postForm = "<form id=\"form3\" method=\"post\" action=\"www.XXXX.com\">";
postForm += "<input type=\"hidden\" name=\"abc\" value=\"abc\" />";
postForm += "</form>";
postForm += "<script type=\"text/javascript\" language=\"javascript\">setTimeout(\"document.getElementById('form3').submit();\",100);</script>";
Response.Write(postForm);

请问一下,C#里面,用这种方式跳转,有没有可能客户是打不开网页的?
因为浏览器太多了,而且用户的设置也不同
实在是很难测出来...


------解决方案--------------------
不会,不过Response.Write 没写完整 

把html 标记也带上