Help with Jquery function
- by Madhur Ahuja
Ok, Here is my problem:
I have this function in a third party javascript library defined as RedirectLink(a,b,c,d,e) where a,b,c,d,e are strings.
I also have a link in my webSite which is again autogenerated (And I can't change it)
<a href="javascript: RedirectLink("1", "2", "3" ,"4" ,"5")" id="mylink" >
What I need to do is, read this anchor's (mylink) href and I need to call RedirectLink function such as javascript: RedirectLink("1", "2", "3" + param, "4" , "5"). where param will come from query string.
The first part is easy, reading the href but how to alter the third parameter ?