Jump Menu using jQuery


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $(".jumpmenu").change(function() {
  2. var val = $('select option:selected').val();
  3. if (val != '') {
  4. location.href=val;
  5. }
  6. });

URL: http://www.encaffeinated.com/articles/view/creating_a_jumpmenu_in_jquery/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.