You can do something like this with AJAX. You just need to send the account number back to the server and see if there is a match. Gather the data if there is a hit and send it back to the browser. The Browser then populates the appropriate fields.