try this :
var studentID = "<?php echo $_POST['studentAssignID']; ?>";
1
solved Uncaught ReferenceError: $_POST is not defined
try this :
var studentID = "<?php echo $_POST['studentAssignID']; ?>";
1
solved Uncaught ReferenceError: $_POST is not defined