Answer the question
In order to leave comments, you need to log in
[jQuery] URL changed on click of link?
Good afternoon.
Please tell me how to implement the following:
There are some links on the page. By clicking on them, one of the GET parameters should change and the page should be updated.
The problem is that the link id must be a GET parameter.
Now I have done this:
_PARAMETER_
jQuery('.groups').click(function() {
window.location = jQuery.query.set("group", _PARAMETER_);
});
Answer the question
In order to leave comments, you need to log in
If I understand you correctly, then the GET parameter on click can be changed like this:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question