how to add an on keyup function with jquery -


i need add onkeyup function input field cannot edit. field looks this.

  <input id="billing_addr_zipname" type="text" maxlength="50" value="" name="billing_addr_zipname"> 

i need add ...

onkeyup="return addresscountedit(this,'spaneditaddress', event)" 

... id using jquery.

anyone know how that?

basic jquery:

$("#billing_addr_zipname").keyup(function() {     //do stuff }); 

Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -