$(function () {
};
var createAutoComplete = function(){
var $input = $(this);
var options = {
source: $input.attr("thingsToUseForAutocomplete")
};
$input.autocomplete(options);
};
//wireup elements of DOM
$("input[thingsToUseForAutocomplete].each(createAutoComplete);
No comments:
Post a Comment