Line 91: | Line 91: | ||
response( $.grep(suggestions, function( item ){ | response( $.grep(suggestions, function( item ){ | ||
return matcher.test( item.label ); | return matcher.test( item.label ); | ||
+ | var data = $.grep(suggestions, function(value) { | ||
+ | return value.substring(0, request.term.length).toLowerCase() == request.term.toLowerCase(); | ||
}) ); | }) ); | ||
}, | }, | ||
− | + | minLength: 0, // requires that the user enters at least one character | |
select: function( event, ui ) { // Once the term is selected from the list | select: function( event, ui ) { // Once the term is selected from the list | ||
− | + | $("tr[class^='item']").hide(); // hide all rows with class name starts with "item" | |
$("#myInput").val( ui.item.label ); // populate the selected term in the input box | $("#myInput").val( ui.item.label ); // populate the selected term in the input box | ||
Revision as of 08:16, 31 October 2017
Software Tool
Enter the disease name, parasite or specific protease to find the cleavage sequence of protease specific to the disease of interest and how our system may be applicable.