We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is possible to make universal .ajax-chzn-select class, which will be loading URL attribute from HTML element?
.ajax-chzn-select
Something like this:
$(".ajax-chzn-select").ajaxChosen method: "GET" dataType: "json" url: $(this).data("url") , (data) -> terms = {} $.each data, (i, val) -> terms[val._id] = val.name + " <span class='slug'>(" + val.slug + ")</span>" terms
The text was updated successfully, but these errors were encountered:
That would not make sense for most peoples needs this is to specific. If you have trouble geting the data for the url try this
$(".ajax-chzn-select").each(function(){ var $this = $(this); $this.ajaxChosen({ type: 'GET', url: $this.data("url") dataType: 'json', function(data){ //your callback } }); });
Sorry, something went wrong.
No branches or pull requests
Is possible to make universal
.ajax-chzn-select
class, which will be loading URL attribute from HTML element?Something like this:
The text was updated successfully, but these errors were encountered: