How can I set the VALUE of the hidden field array inside
$('#addbutton').click(function () {
var txt = "<tr id='divs'><td><input type='hidden' id='hids[]' name='hifld' /> </td></tr> ";
$('#systemconfig').append(txt);
var dd = $("#hid").attr("value");
var inthidden = parseInt(dd);
var vl = parseInt(dd, '0') + 1;
$("#hids[]").attr("value", vl); // this is not working
Your id cannot be as array, your name can be..
so your id should be like
hidsand your name likehifld[]and then assign the value like