位于boby 标签之间 print "<body>" print "<form name=\"frm\" method=\"post\" action=\"%s\">" %(actionPage) print "<input type=hidden name=\"se\" value = \"%s\">" % str(session) print "<input type=hidden name=\"us\" value = \"%s\">" %(user) print "<input type=hidden name=\"ne\" value = \"%s\">" %(name) print "</form>" print "</body> <html><head><meta http-equiv=\"Content-Type\" content=\"charset=utf-8\"><script>alert(\'lang error(%d)\');top.location.href='/';</script></head></html> top.location.href='/'; 返回页面首页 js调用: print "function Refresh(){ " # print " $.ajax({\n " # print " url:\"userlist.cgi\"," # print " data:{se:localsession,us:historyname}," # print " context:document.body," # print " success:function(r){ " # print " $(\"body\").empty().html(r);" print " document.frm.se.value = localsession;" print " document.frm.us.value = historyname;" print "document.frm2.action='operatewait.cgi';“" 跳转到指定的cgi print " document.frm.submit();" # print " }" # print " })" print "}"
from 提交
猜你喜欢
转载自946265172.iteye.com/blog/2196129
今日推荐
周排行