nishant ranjan

nishant ranjan

  • NA
  • 390
  • 0

setting value of html control using jquery and json

Feb 20 2014 5:08 AM
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)