<input type="text" name="editor1_id" id="editor1_id" >
$.each(data.article, function(key, val) { $('#editor1').html(val.text); $("input[name='editor1_id']").html(val.id); });