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

this.element.find(...).andSelf is not a function #370

Open
thomascorthals opened this issue Sep 22, 2016 · 10 comments
Open

this.element.find(...).andSelf is not a function #370

thomascorthals opened this issue Sep 22, 2016 · 10 comments

Comments

@thomascorthals
Copy link

.andSelf() was deprecated in jQuery 1.8 and removed in jQuery 3.0. .addBack() should be used instead from jQuery 1.8 onward.

@amitguptagwl
Copy link

yes, addBack() solved the issue

@govindrai
Copy link

@aehlke please look into merging #388. Your library currently breaks because of an outdated jQuery method. In the meantime, if you want to solve your problem, simply go into tag-it.min.js or tag-it.js file and find and replace "andSelf" with "addBack". There should only be one occurrence and you should be good to go.

Also this has been a hassle integrating with React. If you're working with react, I also recommend checking out react-select.

@KhadeerUI
Copy link

Thank you @thomascorthals. working fine.

@RogerSmithR
Copy link

.andSelf() was deprecated in jQuery 1.8 and removed in jQuery 3.0. .addBack() should be used instead from jQuery 1.8 onward.

Thank you. It works for me!

@dineshsuthar92
Copy link

.andSelf() was deprecated in jQuery 1.8 and removed in jQuery 3.0. .addBack() should be used instead from jQuery 1.8 onward.

You saved my whole code... 👍

@shadialnamrouti
Copy link

I'm surprised why the maintainer is not merging relevant pull requests.

@garyapps
Copy link

@aehlke If you are no longer maintaining this library please put a note on the main page as well as the website that it is sunsetted. That way developers who go looking for a tagging library know not to waste a few hours attempting to implement it. This was admittedly a well written library that was useful to many developers over the years, but if you no longer maintain it it now only wastes time and causes frustration for visitors. As pointed out by other devs, tag-it is completely broken due to use of a feature that was deprecated in jQuery 1.8 and completely removed in jQuery 3.0, and will remain broken until you merge the fix (#388) that was written over a year and a half ago.

@popiang
Copy link

popiang commented Aug 4, 2019

Thank you so much. The fix works for me. Save me so much time. Thanks again...:)

@aehlke If you are no longer maintaining this library please put a note on the main page as well as the website that it is sunsetted. That way developers who go looking for a tagging library know not to waste a few hours attempting to implement it. This was admittedly a well written library that was useful to many developers over the years, but if you no longer maintain it it now only wastes time and causes frustration for visitors. As pointed out by other devs, tag-it is completely broken due to use of a feature that was deprecated in jQuery 1.8 and completely removed in jQuery 3.0, and will remain broken until you merge the fix (#388) that was written over a year and a half ago.

@chandrashekhar729
Copy link

Fixed by change "andSelf" to "addBack" inside Owlcarousel code.
works for me

@marcelovani
Copy link

marcelovani commented Aug 20, 2020

+1 to merging the PR #388. I am using the fork now.

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