I am having json as below
[{
"name": {
"1": "User Name",
"2": "User Email",
"3": "User Mobile",
"4": "User Address"
},
"filename": [
["upl_1407158917.xls"]
]
}]
I want to apend it to drop down list in ajax and filename want to store in hidden field.
I don't want to append filename in my drop down list.
can anyone help me out.
Updated :
I tried this :
$.each(data, function(key, value) {
//alert(value);
$('.excelHead').append( $('<option value="' + value + '">' + value + '</option>') );
});