Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<script language="javascript"type="text/javascript">

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

</script>
Posted
Updated 10-Apr-14 2:22am
v2

It is just redirecting to page displayDistTal.aspx
with data in query string ...
there are three data in query string 1)context 2) distCode 3) talCode
 
Share this answer
 
Comments
Member 10738738 10-Apr-14 6:36am    
thank for suggestion....... if i desing indian map if user select the goa form it.... it will select from file and display user what is javascript for it...
C#
window.location - this will take you to this URL "displayDistTal.aspx" with the same  window


C#
"displayDistTal.aspx?context="+context+"&distCode="+distCode+"&talCode="+talCode; -its called querystring .
you can carry the distCode,talCode value to this page "displayDistTal.aspx" 
 
Share this answer
 
Comments
Member 10738738 10-Apr-14 6:32am    
please tell me how display the map as user click ....ex:-if i desing indian map if user select goa from it.. its call the funcation getdata it is above....whatis java script to select particular goa map
King Fisher 10-Apr-14 8:41am    
have you tried anything?
Member 10738738 10-Apr-14 6:37am    
thank for suggestion...
\
Member 10738738 11-Apr-14 14:12pm    
i am not tried any thing pls suggest me

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900