The example ajax form
<form method="post">
<input type="text" name="name" />
<input type="text" name="email" />
<select name="group">
<option value="1">group 1</option>
<option value="2">group 2</option>
</select>
<button type="submit">submit</button>
</form>
each time the form is show an ajax call is sent and the server returns a json object like
{"name":"john", "email": "[email protected]", "group": 2}
I don't want to do the tedious work of filling the form with the json data manually, is there any jquery plugin can help me do this, with 1 line of code? e.g
$('#myform').fillWith( json );
Thanks.