Basically, I've got a MySQL table with an id (primary key) and name. When the user enters a number into the "ID" textbox on the webform, I want to update another text box with the name based on the id that was entered. What's the best way to do this?

What I'm currently doing feels very stupid, but it works. When my page loads, I pull the id and name into a `DataTable` object. Then when the textbox changes (`TextChanged event`), I post back to the server and then search through my datatable and change the value of the name textbox.

It works, but it's kind of slow because of the post back. I got a feeling this is possible with javascript to make the form feel much more responsive? But I'm not even sure what to google. Any tips?