Monday, 17 June 2013

AJAX FUNCTION

function checkcaptcha(val){
    $.ajax({
    type: "POST",
    url: "captcha.php?val="+val,
    }).done(function( msg ) {
    //alert(msg);
    document.getElementById("captchaval").innerHTML=(msg);
    return false;
    });
   
}