I have an input field as below that is calling a PHP Function CheckLotNo with a click event.
<input name="lotno" id="lotno" onclick="CheckLotNo()" type="text" value="" />
<?php function CheckLotNo() { }
I have a number of click events calling Java Script functions that work fine but in this case I need to call a PHP function?
I get the error message “Function CheckLotNo() not found.”
Is there some way to get a click event to call a PHP Function?