本文介绍了这段代码的含义是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<script language="javascript"type="text/javascript">

function getData(context, distCode, talCode)
{
    window.location=  "displayDistTal.aspx?context="+context+"&distCode="+distCode+"&talCode="+talCode;
}

</script>

推荐答案


window.location - this will take you to this URL "displayDistTal.aspx" with the same  window







"displayDistTal.aspx?context="+context+"&distCode="+distCode+"&talCode="+talCode; -its called querystring .
you can carry the distCode,talCode value to this page "displayDistTal.aspx" 


这篇关于这段代码的含义是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-25 13:44