I am using electronic Signature Pad in my ASP.net application. I want to popup a alert message if the epad is not connected.
function isePad() {
var epad;
epad = window.document.esCapture1.ConnectedDevice;
alert(epad);
if (epad == '' ) {
alert('Sorry epad is not Connected or drivers not installed');
}
}
In most of the machines it is working fine. In some machine the first alert is showing undefined value. I want to display the alert('Sorry epad is not Connected or drivers not installed'); if epad value is '' or undefined