4 * @author Isaak Y Tecle <iyt2@cornell.edu>
9 jQuery(document).ready( function () {
11 jQuery('#search_trait_entry').keyup(function(e) {
13 jQuery('#search_trait').click();
17 jQuery('#search_trait').on('click', function () {
18 var entry = jQuery('#search_trait_entry').val();
28 function searchTraits (name) {
34 url: '/solgs/search/traits/' + name,
35 success: function (res) {
38 window.location = '/solgs/search/result/traits/' + name;
40 jQuery("#search_trait_message")
41 .html('There are no entries for trait: ' + name)
47 jQuery("#search_trait_message")
48 .html('Error occured searching for trait ' + name)