OK, let me try to explain.
I've an external js file called functions.js, inside this file there's a
function jumpto() that takes a string parameter:
jumpto('MainPage/salaries.html')
which I call from my aspx page like this:
<a href="javascript:jumpto('MainPage/salaries.html')">Salary</a>
Now what I'm tryin to acheive is to passed the name of the html file via
querystring from page1 to page2.aspx like this:
Page1:
<a href="/comunidad/Articles.aspx?webPage=salaries">Totals</a>
Page 2:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Dim mypage As String = ""
mypage = Request.QueryString("webPage") & ".html"
Page.ClientScript.RegisterStartupScript("script", "jumpto('MainPage/" +
mypage + "')", True)
End Sub
So far I'm stuck, any help would be very appreciated.
Best regards