Post array of multiple checkbox values to php


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var mycheckboxes = new Array();
  2.  
  3. $("#result").post("test.php", {'mycheckboxes[]': mycheckboxes});

Report this snippet


Comments


You need to login to view comments.