I have this hyperlink in anchor tag
<a href="/index.php?var1=rule-power" > Text </a>
Now i want that when that page is clicked i have the page with hyperlinks like
<a href="" >rule-power </a>
Is it possible that i can grab the var1 using jquery . even if its partial match it willl be good and then remove that tag
something like
NewVar =getParameter(var1);
$.find(a).withtext(NewVar).hide()