I've got an irritating problem I'm trying to fix, I got a CSV file that's uploaded every night to one of my servers containing usernames/passwords for customers email accounts, I set up a simple search function using csv2table (jquery) and it works perfectly if you click the submit button but the moaners that be want to be able to press return to bring up the results as well, as there's no form involved I can't work out what to do
Any ideas?
Thanks

Code:
<input id="email" type="text">
<input
class="btn1"
id="emailstuff"
type = "button"
onclick="$('#viewSettingWhere').csv2table('newemail.csv',{
where : [{'username': 'like %q%'.replace('q', $('#email').val())}]
});"
value="Search">
Thanks