Mathachew / jquery-autotab

A jQuery plugin that provides auto tabbing and filtering on text fields in a form
http://autotab.mathachew.com/
366 stars 98 forks source link

Can you manually initialize a SELECT box? #60

Open TronixGT opened 10 years ago

TronixGT commented 10 years ago

Since I'm having issues with textarea's in older IE versions running in compatibility mode, I'm initializing the text boxes and check boxes individually, however I can't seem to figure out how to initialize a select box.

I'm calling autotab with: $('input[type=text], input[type=password], input[type=checkbox]').autotab();

I've tried to add: $.autotab({ tabOnSelect: true });

but then that initializes textareas again and breaks them. Is there a way to add select boxes without initializing the textareas?

Thanks,

Mathachew commented 10 years ago

You can include a select list by adding select in your selector. You could also do $(':input').not('textarea'). Calling $.autotab() is the same as using the :input selector.