¡@

Home 

2014/10/16 ¤W¤È 12:09:27

jquery Programming Glossary: this.new_term_to_be_added

Is there a way to dynamically ajax add elements through jquery chosen plugin?

http://stackoverflow.com/questions/9683098/is-there-a-way-to-dynamically-ajax-add-elements-through-jquery-chosen-plugin

of changes I did to the chosen plugin jquery version to solve this problem Chosen.prototype.choice_build function item this.new_term_to_be_added null .... Chosen.prototype.no_results function terms .... no_results_html.find span .first .html terms this.new_term_to_be_added.. null .... Chosen.prototype.no_results function terms .... no_results_html.find span .first .html terms this.new_term_to_be_added terms return this.search_results.append no_results_html Chosen.prototype.keydown_checker function evt ... case 13 if this.new_term_to_be_added.. terms return this.search_results.append no_results_html Chosen.prototype.keydown_checker function evt ... case 13 if this.new_term_to_be_added null this.options.addNewElementCallback null var newElement this.options.addNewElementCallback this.new_term_to_be_added..