Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Add an option "destroy" #104

Open
sploutch opened this issue Mar 12, 2014 · 0 comments
Open

Add an option "destroy" #104

sploutch opened this issue Mar 12, 2014 · 0 comments

Comments

@sploutch
Copy link

Add this after "$.fn.autocomplete = function(options) {"

if(options==="destroy"){
this.removeData("autocompleter").off();
return;
}

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

No branches or pull requests

1 participant