iam getting script error .

Posted by maninaanee-8287 under JavaScript on 2/6/2012 | Points: 10 | Views : 1083 | Status : [Member] | Replies : 8
im getting script error in this. Howto do.
function ProviderSel(objval,podFlg)
{
var strDate, strFlag, podstr, sessionPodID;
podstr = "";sessionPodID="";
sessionPodID = '<%=Session["lngPodId"]%>';
strFlag = document.getElementById("hidLoadFlag").value;
strDate = document.getElementById("hidtxtDate").value;
if (document.getElementById("hidPodId").value!="")
podstr = "&strPodFlg=Y";
else
podstr = "&strPodFlg=";

document.frmDaySch.action = "DayScheduleDisplay.aspx?LoadFlg="+strFlag+"&txtDate="+strDate+"&provFlg="+objval+podstr;
document.frmDaySch.submit();
}




Responses

Posted by: Blessyjees on: 2/6/2012 [Member] Bronze | Points: 25

Up
0
Down
hi,

Can you specify the script error.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

maninaanee-8287, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: maninaanee-8287 on: 2/6/2012 [Member] Starter | Points: 25

Up
0
Down
Message: 'top.frames.bottom_left.DB_right' is null or not an object


maninaanee-8287, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Blessyjees on: 2/6/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

I feel that this error is not occurred from the above script. do you have any another scripts. Please provide your page script. Can you tell what is "top.frames.bottom_left.DB_right"

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

maninaanee-8287, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: maninaanee-8287 on: 2/6/2012 [Member] Starter | Points: 25

Up
0
Down
function GotoURL(strUrl,strDate,strDept,id,patid) {
var strPatChartFlg = "";
var strPatChartBackURL = "";
// Call To Expand Collapse Dash Board Frame if exists.
if (top.frames["bottom_left"])
{
//if (top.FrmTwo.cols != "0,*" && top.FrmTwo.cols != "20,*" )
//{
if (top.frames["bottom_left"].document.location.href.toUpperCase().indexOf("DASHBOARD")>=0)
{
//top.frames["bottom_left"]["DB_right"].InitParent();
top.frames["bottom_left"]["DB_right"].InitParentDB();
strPatChartFlg = "Y";
strPatChartBackURL = "DayScheduleDisplay.aspx?LoadFlg=A";
parent.window.DashBoardResize();
}
//}
}


maninaanee-8287, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Blessyjees on: 2/7/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

This error is generated from top.frames["bottom_left"]["DB_right"].InitParentDB(); , please check this is exist or correct the name.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

maninaanee-8287, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/19/2012 [Member] Bronze | Points: 25

Up
0
Down
The Function is Not Calling By Ur javaScript...



Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

maninaanee-8287, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/19/2012 [Member] Bronze | Points: 25

Up
0
Down
One More Thing YOu Check The Plugin or Javascript FileName

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

maninaanee-8287, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajni.Shekhar on: 3/20/2012 [Member] Bronze | Points: 25

Up
0
Down
You have to check top.frames["bottom_left"]["DB_right"] is exists or not.

Thanks,
Rajni Shekhar

maninaanee-8287, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response