title: how to access database through javascript?
body: <p>I am creating one admin page where I have multiple textboxes.when I enter the userid in one textbox I want to display user name in next textbox when admin moves to next text box.for this I can use <code>ajax</code> or <code>javascript</code>? which one will be better?how can I do it through javascript.  </p>