Commit 324bc799 authored by smestry's avatar smestry

added new js file of customer details and item details in side panel.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103962 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9f0f3012
function trimSpace(doc_id)
{
return doc_id.replace(/^\s+|\s+$/gm,'');
}
$(document).ready(function()
{
$(".DBImage1 div:first").show();
$("#next").click(function() {
if ($(".DBImage1 div:visible").next().length != 0)
{
$(".DBImage1 div:visible").next().show().prev().hide();
}
return false;
});
$("#prev").click(function() {
if($(".DBImage1 div:visible").prev().length != 0)
{
$(".DBImage1 div:visible").prev().show().next().hide();
}
else
{
$(".DBImage1 div:visible").hide();
$(".DBImage1 div:first").show();
}
return false;
});
});
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