Answers for "set value array input jquery"

0

set value array input jquery

<input type="hidden" name="attachments[]">
  
$('input:hidden[name=attachments]').val(attachArray);

     //////////////////////// OR ////////////////
<input type="hidden" name="select_day" id="select_day_main">

$('#select_day_main').val(data);
Posted by: Guest on August-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language