function btnScan_onclick(divToRefresh)
{
TheDivToRefresh = divToRefresh;
WebTWAIN.IfShowUI = false;
IfDisableSourceAfterAcquire = true;
WebTWAIN.AcquireImage();
if (WebTWAIN.HowManyImagesInBuffer == 0){
Alert('No image was scanned');
Return();
}
}
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
alert('No image was scanned');
function btnScan_onclick(divToRefre
{
TheDivToRefresh = divToRefresh;
WebTWAIN.IfShowUI = false;
IfDisableSourceAfterAcquir
WebTWAIN.AcquireImage();
if (WebTWAIN.HowManyImagesInB
alert('No image was scanned');
Return(); // is this a function or the keyword? all javascript keyword are lowercase : return;
}
}