Is it possible to append a string to url using the body? Something similar to the JSFiddle below.
<a href="#" onclick="extendSearch('&page=2');return false">hi</a>
I want to append this query to the url: ?q1=iPodTouch&x=79&y=20
When the user clicks the link they will be taken to the next page with the attached string above.
location.href += "url: ?q1=iPodTouch&x=79&y=20"inside the onclick event