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

Run options using Javascript

Started by jahnavi, 16 Nov 2011 11:20:40 AM

Previous topic - Next topic

jahnavi

 Hi,

When I am running the report using the below code. Its giving the results but the prompts which are selecting previously is all Refreshing
<html><head><script language="javascript">function gotoUrl() {var obj=document.all['OutputFormat'];window.onload(gCognosViewer.getRV().viewReport(obj.options[obj.selectedIndex].value));} </script></head><body> <select name="OutputFormat" OnBlur="javascript:gotoUrl()"><option value="HTML">HTML</option><option value="PDF">PDF</option><option value="XLWA">Excel 2002</option><option value="spreadsheetML">Excel 2007</option><option value="CSV">Delimited text (CSV)</option></select> </body></html>

Pls Modify the code and help me in giving the solution for this

Thanks