[jQuery] Populate Form Values with Json returned Ajax call

[jQuery] Populate Form Values with Json returned Ajax call


I do an ajax call to load a form. The data is returned via json.
What's the best way to mass populate the form without setting each
id...one by one? Also, does this mean that I would need to
name my form fields the same as the database field names?
Thanks,
Mike