2012-03-29(ASP)(页面跳转+tab菜单+传参)

 

跳转及传参 :

<script type="text/javascript">
function findCAF(tabname){
var type=document.all.item("pdtType").value;
var system_ID=document.all.item("systemIDSelect").value;
var status=document.all.item("statusSelect").value;
var STF_ID=document.all.item("asgToSelect").value;
var purpose1=document.all.item("purpose1").value;
var purpose2=document.all.item("purpose2").value;
var cmycode=document.all.item("providerSelect").value;
var pageSize=document.all.item("pagesize").value;
//alert(type);
parent.frames[0].location.href = '../main_top.asp?tabname=' + tabname + '&time=<%=Server.URLEncode(now)%>';
//parent.frames[1].location.href = '../CAF/CAFCentral.asp?';
var tmp = "../CAF/CAFCentral.asp?cptType="+escape(type)+"&systemIDSelect="+escape(system_ID)+"&statusSelect="+escape(status)+"&asgToSelect="+escape(STF_ID)+"&purpose1="+escape(purpose1)+"&purpose2="+escape(purpose2)+"&pagesize="+escape(pageSize)+"&companyCodeSelect="+escape(cmycode);
parent.frames[1].location.href = tmp;  
}
</script>


跳转按钮:

<td><input type="button" name="find_caf_button" id="find_caf_button" value="Find CAF" onclick ="javascript:findCAF('caf');" /></td>


 

阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zjw10wei321/article/details/7408009
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭