window.open("pgPdfCreate.aspx?id=" + id + "&col=" + col + "&row=" + row + "&itemtype=" + itemtype + "&catname=" + catname + "&optionselected=" + optionselected + "&orient=" + orientation + "&from=" + from1+"&toemail="+toemail+"&subject="+subject+"¬es="+notes, "PDF Creation", "width=500,height=500");
function PDFCreator() { var id = $("#Catid").val(); var optionselected = $('input[name=type]:checked').val(); console.log("Selected="+optionselected); var from1 = $("#from").val(); console.log("FROM="+from1); var col = ""; var row = ""; var itemtype=""; var catname = ""; var orientation = ""; var toemail=$("#txtEmail").val(); var subject=$("#txtSub").val(); var notes=$("#txtNotes").val(); if (optionselected == "small") { col = "3"; row = "5"; itemtype = "true"; orientation = "P"; } else if (optionselected == "medium") { col = "2"; row = "4"; itemtype = "true"; orientation = "P"; } else if (optionselected == "large") { col = "1"; row = "3"; itemtype = "true"; orientation = "P"; } else if (optionselected == "individual") { col = "1"; row = "1"; itemtype = "true"; orientation = "P"; } closeDowloadDiaLog(); window.open("pgPdfCreate.aspx?id=" + id + "&col=" + col + "&row=" + row + "&itemtype=" + itemtype + "&catname=" + catname + "&optionselected=" + optionselected + "&orient=" + orientation + "&from=" + from1+"&toemail="+toemail+"&subject="+subject+"¬es="+notes, "PDF Creation", "width=500,height=500"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)