I have the following function:
$(document).ready(function() { $(\"#dSuggest\").keypress(function() { var dInput = $(\'input:text[name=dSuggest]\'
I think what you need is the below prototype
$(element).on('input',function(){code})