0

I have a big problem with a form and jQuery.

<form name="doall" method="POST" action="test.php">
    <input type="hidden" value="<?php echo $Sorder ?>" name="order" />
    <input type="hidden" value="<?php echo $Ssort ?>" name="sort" />
    <input type="hidden" value="<?php echo $form_id_venue ?>" name="form_id_venue" />
    <input type="checkbox" name="objectSelected[]" value="<?php echo $userToRead[$j]['id'] ?>"/></td>

If in test.php i put print_r($_POST) I notice that the array is populated with every input value with the exception of select and checkboxes.

$_POST doesn't consider checkbox, radio and select input, only text and textarea.

If I disable jQuery everything is ok. Why?

Colin Brock
  • 21,267
  • 9
  • 46
  • 61
Roberto Pezzali
  • 2,484
  • 2
  • 27
  • 56

0 Answers0