Commit 328969be authored by smestry's avatar smestry

W15GSUN010, Added new js file for firmplan.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99965 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2199771f
function nextPage()
{
//alert("inside nextPage function for firmplan .............");
var workOrder = document.getElementById("work_order").value;
var campgnNo = document.getElementById("campgn_no").value;
var leastExpdt = document.getElementById("least_expdt_active_rm").value;
if(workOrder == "" && campgnNo == "")
{
alert("Please enter data in atleast one of the text field...!");
return false;
}
else if (workOrder != "" && campgnNo != "")
{
alert("Please enter data in only one text field...!");
return false;
}
else
{
var url = "/ibase/webitm/jsp/WOrderStkStatusRep.jsp?workOrder=" + workOrder + "&campgnNo=" + campgnNo + "&leastExpdt=" + leastExpdt;
var win = window.open(url);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment