If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Javascript issue in 11.0.7

Started by Arumugam, 12 Oct 2017 09:36:13 AM

Previous topic - Next topic

Arumugam

Hi ,

   We have migrated the reports from 10.2.2 to 11.0.7.10.2.2 uses one javascript for onchange event

//Below 2 lines of codes are for cognos 8.4

//var rplStr = "PRMTUtils.F_OnChange(event, this);hideOrShowText("'+pName+"','"+optName+'");";
//optArr.outerHTML = optArr.outerHTML.replace("return PRMTUtils.F_OnChnage(event, this);",rplstr);

//Below 2 lines of codes are for cognos 10

var rplStr = 'onclick="PRMTUtils.F_OnChange(event, this);hideOrShowText('+"'"+pName+"','"+optName+'");";
optArr.outerHTML = optArr.outerHTML.replace('onclick="return PRMTUtils.F_OnChange(event, this);',rplStr);

Can anyone help me to achieve the same functionality in cognos 11.0.7??

Arumugam

Is there any issue with replace function with cognos analytics 11.0.7