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

Bug with jquery 3.1.1 #180

Open
Deprivant opened this issue Jan 17, 2017 · 4 comments
Open

Bug with jquery 3.1.1 #180

Deprivant opened this issue Jan 17, 2017 · 4 comments

Comments

@Deprivant
Copy link

with jquery 3.1.1, console says: TypeError: a(...).parents(...).andSelf is not a function

@Lewitje
Copy link

Lewitje commented Jul 27, 2017

Having the same issue.

@carlosnpz
Copy link

Same here. Any clues?

@Seoptics
Copy link

Seoptics commented Sep 15, 2017

Same problem, using jQuery 3.2.1:
TypeError: $(...).parents(...).andSelf is not a function
/jquery.selectbox.min.js:539

This happens when you click on the chosen option... last update fot this is 4 years ago, so I dont expect an solution soon. Think the jQuery UI selectmenu is a good alternative.

***** EDIT *****
Change it to addBack()
https://api.jquery.com/addBack/

(This function has been deprecated and is now an alias for .addBack(), which should be used with jQuery 1.8 and later.)
https://api.jquery.com/andself/

@CODE-REaD
Copy link

I too see the

TypeError: a(...).parents(...).andSelf is not a function

problem, but find it only occurs during an exception. So it seems that exception handling is broken or at least crippled. My workaround was to revise my code to avoid the exception (in my case it was pre-initializing ALL of my <selection> elements before my initial call to $('select').selectBox()).

@Seoptics, I tried jQuery UI selectmenu, but it doesn't support <select size>, which allows me to "pre-expand" my selection menus. Thanks for the suggestion though.

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

5 participants