I have a select tag which loads 10 shops. 
Shop Number should be passed as a parameter on changing the select value..
I tried to put a tag in my html like this..

```
<a href='#' id='wo_selected_shop'>aaa</a>

```

and in my script

```
$("#wo_select_shop").change(function() { 
    var shop_number = $("#wo_select_shop").val();
    var url = '/estimate_lookups/select_store?shop_number='+shop_number;
    $('#wo_selected_shop').attr('href',url).trigger('click');
});

$('#wo_selected_shop').click(function() {
    console.log("A Click"); 
});

```

Thing is on changing the select tag the console works and also the href is changing in console.. But url is not changing or the page is not changing.. But it changes if i click that a tag manually.. 
What do i miss?