Tom Tom - 1 year ago 186
jQuery Question

jQuery KeyUp and Click

I was wondering how you can do

for the same

i.e. essentially I want to validate the
when both the user attempts to hit enter or hits the

Thanks alot

Answer Source
$('#foo').bind('click keyup', function(event) {

You'll have to add some logic, as the event type changes, but it should work with enough if blocks.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download