hello,
I know how to make a form return json, but how can I bind a form to json, so
that all textfields, selects etc. show the correct value?
<form>
<input type="text" name="id">
<select name="choice">
<option value="one">one</select>
<option value="two">two</select>
</select>
<form>
then I get from somewhere
[{"id":1,"Choice":"two"}]
Then the form should get into this state:
<form>
<input type="text" name="id" value="1">
<select name="choice">
<option value="one">one</select>
<option value="two" selected="selected">two</select>
</select>
<form>
Is this implemented somewhere?
--
Jan
___________________
[EMAIL PROTECTED]
www.limpens.com
+55 (11) 3082-1087
+55 (11) 3097-8339