COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: laks on 15 Jul 2010 06:00:12 PM

Title: Help with simple java script
Post by: laks on 15 Jul 2010 06:00:12 PM
I am using following java script in one of my report. It works fine when I open in Report Studio, but its not working when I used in pagelet.

<button title="Pareto by Checklist" onclick="fW.elements['p_pTabToShow'].value='Checklist'; fW.elements['p_pChartsToShow'].value='Number'; SetPromptControl('Finish')" style="border-topstyle:none;border-left-style:none;border-right-style:none;borderbottom-style:none;display:block;background-color:white">Pareto by Checklist</button>

Suggestions Plz..