[jQuery]자동 완성 기능!
$(function() {$("#searchValue").autocomplete({source : function(request, response) {$.ajax({url : "/Board/AutoComplete",dataType : "json",data : {term : request.term},success : function(json) {response($.map(json, function(data){return{label : data.TITLE,value : data.TITLE};}));},error : function(json){alert("err" + json);}});},});
2014. 3. 7. 11:32