Tuesday, 6 August 2013

JavaScript solution required

JavaScript solution required

if (auth) {
$('#notification').removeClass();
$('#notification').addClass('alert alert-success');
$('#notification').text('Authorized...');
//continue to monitor
faceDetected = false;
} else {
$('#notification').removeClass();
$('#notification').addClass('alert alert-error');
$('#notification').text('Not authorized. Taking SOME ACTION ...');
}
in the above script i want url redirect action if face detected = false:;
without notification 'Authorized...'

No comments:

Post a Comment