-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
.selector property is removed #353
Comments
Agreed this is a problem, but use of .selector is necessary for proper handling of ajaxForm's "delegation" option. If you ask me, the "delegation" option should be deprecated altogether and any code adding new <form> elements should be responsible for issuing the corresponding .ajaxForm(~) calls itself. I'll put together a pull request for this later today. |
The selector property is not gone, it is deprecated. |
ah, yes. Sorry about that. I picked this out when I was sweeping my code for .live(). |
It looks like jQuery 3 finally removed I'm really not sure what this portion of the plugin code is doing, or how to refactor it. Help would definitely be appreciated! |
http://jquery.com/upgrade-guide/1.9/#selector-property-on-jquery-objects
As of 1.9, the .selector property is gone.
Looks like it is still hanging around in in ajaxForm.
Unless I am reading this wrong, .selector needs to be dealt with.
$.fn.ajaxForm = function(options) {$.isFunction($ .fn.on);
options = options || {};
options.delegation = options.delegation &&
};
The text was updated successfully, but these errors were encountered: