"); mywindow.document.write(prntData); mywindow.document.close(); mywindow.print(); } function DownloadWordDocument() { $('#PrintNews').wordExport(); } function validateMe() { if ($("#ContentPlaceHolder1_txtName").val() == "") { alert("Please enter the name"); $("#ContentPlaceHolder1_txtName").focus(); return false; } }