function checkInput(objectSource) {
if(objectSource.onclick) {
objectSource.oldOnClick = objectSource.onclick;
objectSource.onclick = null;
}
var attachfile = $('#attachment').val();
if (content.indexOf("Attachment") != -1 && attachfile == undefined) {
if(!confirm( 'Your email content mentions attachments, but you may have forgotten to add them.')){
return false;
}
}
objectSource.oldOnClick();
}
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn