Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you manually initialize a SELECT box? #60

Open
TronixGT opened this issue Aug 22, 2014 · 1 comment
Open

Can you manually initialize a SELECT box? #60

TronixGT opened this issue Aug 22, 2014 · 1 comment

Comments

@TronixGT
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants