Change the jQuery:
jQuery('#stuff-input').suggest(se_ajax_url + '?action=se_lookup', {
onSelect: function() {
thevalue = this.value;
thevalue = thevalue.split(' (');
jQuery('#stuff-input').val(thevalue[0]);
}
});
Change the jQuery:
jQuery('#stuff-input').suggest(se_ajax_url + '?action=se_lookup', {
onSelect: function() {
thevalue = this.value;
thevalue = thevalue.split(' (');
jQuery('#stuff-input').val(thevalue[0]);
}
});