Ajax auto-populate from field when another form field is filled out

Posted by Jon on Stack Overflow See other posts from Stack Overflow or by Jon
Published on 2010-05-30T14:55:34Z Indexed on 2010/05/30 15:02 UTC
Read the original article Hit count: 161

Filed under:
|

Has anyone used javascript/ajax to take data from one form field and put it into another? I'm trying to create a form that when one text input is filled out a second is auto-populated with the first letter of the word that is in the first text input. I'm thinking I can limit the second text input to one character to help get the desired result, but I'm not having luck finding the javascript to get the second text input to auto-populate from the first. Any suggestions?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about AJAX