<pre lang="HTML"> <input class="btn btn-lg" name="Submit" onclick="return validate();" type="submit" value="Submit">
// pseudo code function validate(){ // code to validate captcha if (//outcome of captcha is true//) { return true; // form will be submitted } else { alert(message); return false; // form will not be submitted } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)