Get data in same HTML page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kveerendrareddy
    New Member
    • Sep 2007
    • 5

    Get data in same HTML page

    Hi friends,
    Here i have a small query for u.

    I created 2 text boxes in a HTML page, and
    my requirement is, if i enter text in first text box,
    it should retrieve data from database and set the data in the second text box. I could write the code for this. But i could not get the output in the same page, it is moving into the next page showing the exact output as i require.
    But I want the data to retrieved in the same page.
    can't we do that in HTML?
    If possible can anyone help me with code...
    Thousands of thanks in advance for reply.
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    No, HTML cannot do this. You need a server side programming language.

    Comment

    • ak1dnar
      Recognized Expert Top Contributor
      • Jan 2007
      • 1584

      #3
      So you need to call the server side scripts asynchronously. Then call them via AJAX.

      Comment

      Working...