I have a JSON object returned from the database. The values in the JSON object came from an HTML page full of input tags.
var userTemplate = { };
$("#tabBasic").find($("input")).each(function() {
userTemplate[this.name] = this.value;
});
Now I'd like to re-apply the values from the JSON to the input tags on the page.
Is there a way to do this automatically using jQuery?