COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: sravs on 20 May 2013 03:16:49 PM

Title: Script for Back Button on drill through source report
Post by: sravs on 20 May 2013 03:16:49 PM
Hi,

can any one of you please provide me the java script for the BACK button to keep on the Drill-through target report to get back to the Source report.

Thanks!
Appreciate your help.
Title: Re: Script for Back Button on drill through source report
Post by: vetteheadracer on 03 Nov 2014 12:42:09 PM
<a href="#" onclick="history.go(-1);return false;">Back</a>
Title: Re: Script for Back Button on drill through source report
Post by: bdbits on 07 Nov 2014 05:29:15 PM
vetteheadracer is right, but why not just teach your users to use the browser back button? It basically does the same thing. It could sometimes be a bit persnickety in earlier versions but I do not really run into problems using browser back buttons in recent versions of Cognos.