[jQuery] Re: Appending URL and Session variables to redirect script

2008-04-13 Thread Mintyman
You know Bob, sometimes I amaze myself with stupidity! Why didn't I think of that? Thanks! On Apr 13, 4:24 am, "Bob Woodard" <[EMAIL PROTECTED]> wrote: > > All I need now is to figure out the syntax of moving my > > script over into a separate .js file instead of being inline. > > Instead

[jQuery] Re: Appending URL and Session variables to redirect script

2008-04-12 Thread Mintyman
I've managed to work out how to make my code apply specifically to an individual link. I found out how to use $(this) Thanks anyway! All I need now is to figure out the syntax of moving my script over into a separate .js file instead of being inline.

[jQuery] Re: Appending URL and Session variables to redirect script

2008-04-12 Thread Mintyman
I just decided to keep the code inline within the ASP page: $(document).ready(function() { $("a.dload").click(function(){ var CompanyID = $("a.dload").attr("name"); var UserID = <%=session("UserID")%>; var DownloadID = $("a.dload").attr("rev"); $.ajax({ type: "GET", url

[jQuery] Re: Appending URL and Session variables to redirect script

2008-04-12 Thread Mintyman
HI, Thanks for the help. You're right that i'm using classic ASP. However, what i'm trying to do is use a separate .js include file. I can get it to work with the code you've provided if I leave the script inside the ASP page, but I would like to keep it separate as I would like to use it in more

[jQuery] Appending URL and Session variables to redirect script

2008-04-12 Thread Mintyman
Hi, I'm pretty new to using Jquery and javascript and don't quite know how to do something pretty simple. I have the following script that I am trying to build that will load another page in the background when a link is clicked. However, I don't know the syntax to set the CompanyID and UserID v