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

Using with jQuery 1.7.2 fails with: "Uncaught Error: NotFoundError: DOM Exception 8" #133

Closed
nonplus opened this issue May 9, 2013 · 1 comment

Comments

@nonplus
Copy link

nonplus commented May 9, 2013

Testing on MacOS Chrome 25.0.1364.172.

The problem is caused by 62b0592 where you're assigning an array rather than a string to title. You can fix this by changing line 198 to:

var title = selectedItems[0] || '';

On an unrelated note, you declare the title variable twice. Using "strict mode"; highlights some other issues in the plugin...

caseyjhol added a commit that referenced this issue May 9, 2013
@caseyjhol
Copy link
Member

Good catch. Thanks.

hndcrftd added a commit to hndcrftd/bootstrap-select that referenced this issue Jan 6, 2020
snapappointments#2148)

Title option is deprecated (but still works for backwards compatibility). Placeholder option is used.
Title, if set, is appended as title on $button.
Title usage can be removed complately by removing line snapappointments#133
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