I am using the below code to load the iframe src for the parent iframe. But its not working for me.
var cur_iframeid = frameElement.id;
alert(cur_iframeid);//Parent iframe id
var value = "activity.aspx?id=Y&cust_id=" + cust_id + "&role_id=" + role +";
alert(value);
cur_iframeid.src = value;//Its not working.
+"at the end ofvar valueline a typo? If not, then you have a syntax error which could be the problem.var value = "activity.aspx?id=Y&cust_id=" + cust_id + "&role_id=" + role;