-
-
Save LuD1161/eb41453e6d85f19c4d681bfadec69c38 to your computer and use it in GitHub Desktop.
downloadPdf function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function downloadPdf(tid) { | |
if (document.getElementById("hdnBookingId") != null && document.getElementById("hdnBookingId").value != "") | |
tid = document.getElementById("hdnBookingId").value; | |
if (tid != null && tid != "" && tid != undefined) | |
window.open("http://api.whereIDORsLive.com/XYZService/EticketPdf/" + tid + ".pdf", '_blank'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment