im getting script error.

Posted by maninaanee-8287 under JavaScript on 4/16/2012 | Points: 10 | Views : 761 | Status : [Member] | Replies : 1
im getting script error in this.
function UserMenuItemClicked(sender, args)
{
var itemValue = args.get_item().get_value();
if (itemValue == "PWD") {
collapsePane();
top.frames["rightPane"].location.href = "iPaasResetPassword.aspx?Status=2"
}

else if (itemValue == "CE") {
top.parent.window.location.href = "iPaaSIntermediateLogin.aspx?status=1"
collapsePane();
}
else if (itemValue == "LOGOUT") {
if (window.confirm("Do you want to end the session and logout?")) {
location.href = "Logout.aspx?strLogout=Y";
}
}




Responses

Posted by: Gsm_Gsv on: 4/17/2012 [Member] Starter | Points: 25

Up
0
Down
Please post, what error you are getting
And, in the above code, there is no closing brace for the function

---------------------------------------
Live the life you've dreamed

Regards
MADHU

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

Login to post response