2
Reply

setting value of html control using jquery and json

nishant ranjan

nishant ranjan

Feb 20 2014 5:08 AM
2.1k
i have a json stored in hidden field with given below data.
 
[
{"Column_ID":"cntName","Field_Value":"satyendra"},
{"Column_ID":"cntAddress","Field_Value":"Test"},
{"Column_ID":"cntDate ","Field_Value":"03"}
]
 
i have aspx page with html input control name same as column_id.
i want function in jquery which will read json and set value to html input control whose id is as given in column_id
how can i do this.

Answers (2)