function newPopss(purchasedate, supplier, tranType, payable) { // //alert("A") // MyArgs = null; // MyArgs = window.showModalDialog('../../Transactions/Payments/frmPaymentdetail.aspx?ComIds=1&ComOthersIds=1&HrpNo=1&BillNo=1&PurchaseDate=' + purchasedate + '&Supplier=' + supplier + '&Payable=' + payable + '&salesId=1&Transact_Type=' + tranType, MyArgs, 'status:no;dialogWidth:850px;dialogHeight:550px;dialogTop=100,dialogLeft=100;dialogHide:true;help:no;scroll:yes;resizable:No;center:yes;'); // return true; // } // function validateControls() { // alert(document.getElementById("<%=HiddenField1.ClientID %>").value) // if (document.getElementById("<%=HiddenField1.ClientID %>").value == "0") { // alert("Please Select Asset Name using Search Button "); // document.getElementById("<%=HiddenField1.ClientID %>").focus(); // return false; // } // else { // return true // } // } // function openPopup1() { // var ParmA = " "; // var ParmB = " "; // var MyArgs1 = null; // var MyArgs = new Array(); // var confirmWin = null; // var Emp = document.getElementById("<%=txtAssetName.ClientID %>").value; //// if (Emp == "") { //// alert("Please enter part of the Asset name to search corresponding Asset"); //// document.getElementById("<%=txtAssetName.ClientID%>").focus(); //// return false; //// } // //MyArgs = window.showModalDialog('../Transactions/PopupEmployee.aspx?Employee='+Emp+'','007registerWindow','anycontent',MyArgs,'menubar=0,resizable=yes,dialogWidth=200,dialogHeight=500,dialogTop=100, dialogLeft=100,scrollbars=yes') // MyArgs1 = window.showModalDialog('../Transactions/frmCommonSearch.aspx?PageCode=ASSETM&PageName=Asset Master', MyArgs, 'status:no;dialogWidth:500px;dialogHeight:500px;dialogTop=100,dialogLeft=100;dialogHide:true;help:no;scroll:no;resizable:No;center:yes;'); // // alert(MyArgs1) // MyArgs = MyArgs1.split(','); // // alert(MyArgs); // if (MyArgs == null) { // window.alert("No Asset Selected from the List"); // return false; // } // else { // //alert(MyArgs[1].toString()); // document.getElementById("<%=txtAssetName.ClientID %>").value = MyArgs[1].toString(); // document.getElementById("<%=HiddenField1.ClientID %>").value = MyArgs[0].toString(); // } // return true; // }
$.newPopss=function (purchasedate, supplier, tranType, payable) { // Please note that I have skipped the rest of the code since it was COMMENTED in the original Javascript code });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)