Posted By

thiswayup on 11/04/10


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Priestd09


redirect to a page on selecting a dropdown item


 / Published in: JavaScript
 

  1. $('select#selectahotel').change(function(){
  2. window.location = $(this).val();
  3. })

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: gpolitidis on November 5, 2010

Hi, thanks for sharing this stuff. I have a webpage that could make use of this script. Could you please give us an example of use, with url's inside in this code ?

You need to login to post a comment.