Onclick open page and dynamically select filter option

Onclick open page and dynamically select filter option

Hi, I'm a novice.

i would like to know how to put a jquery on my site so that when you click on a link it opens another page and selects an item from the unselected links of a ul filter list. Hope that's not too much to ask?

Thanks

I have this so far but does not seem to work:

var s = $("#idF1SelName").val("France"); $("a.track[rel='s']").trigger("click");