Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $( "#JQSEARCH" ).autocomplete({
- source: function(request, response){
- response(getData(request));
- }
- , minLength: 3
- ,select: function(event, ui) {
- alert(ui.item.code);
- alert(ui.item.name);
- $('#CODE').text(ui.item.code);
- $('#NAME').text(ui.item.name);
- $('#JQTYPE').text(ui.item.type);
- $('#JQCIRCUIT').text(ui.item.circuit);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement