I have this problem with onchange:
<form class="form" action="javascript:update();">
<select name="calendar" id="calendar" onchange = "update(); location.href = 'http://orario-preghiera.it/newsito/try.html?id=' + this.value">
<option value = "x" selected="selected">Bologna</option>
<option value = "y1">Other city</option>
<option value = "y2">Other city</option>
<option value = "y3">Other city</option>
<option value = "y4">Other city</option>
<option value = "y5">Other city</option>
</select>
</form>
When I choose a option, from x (i.e. selected) to y, the URL changes to y, and is displays the contents of y for a few seconds and then returns to x (selected), but the link changes and remains. How can I stop the content?
Thanks!