I haven't been able to find an answer to this that works. All I want to do is check with Jquery to see if something has been posted in PHP.
PHP:
if ($_POST['clockin'] == "Clock In") {
//some code
};
And for the Jquery:
if (<?php $_POST['clockin'] == "Clock In" ?>) {
$("#clockin").click(function(){
$(this).attr('disabled', 'disabled');
$("#clockout").removeAttr('disabled');
});
};