I'm guessing that you need to add the plus signs before and after n

{window.open('reportMain.cfm?rtype='+n+'&report_ID='+rid,'givemereport','resizable=yes,menubar=yes,toolbar=yes,scrollbars=yes,width=710,height=500');}

CS wrote:

>Hi all,
>
>My reporting tools works perfectly fine under CF5.0
>supporting client (browser) IE 5.x, IE6.x, Netcape 4.x
>and above until I installed it to CFMX eval and load
>some script for editing in Dream Weaver.
>
>Now, a simple js statement like this
><script language="javascript">
>function report(rid) 
>{window.open('reportMain.cfm?rtype='n'&report_ID='+rid,'givemereport','resizable=yes,menubar=yes,toolbar=yes,scrollbars=yes,width=710,height=500');}
></script> 
>has given me an error msg.
>
>Dream Weaver complained
>syntax error: missing ) after arguement list
>
>What I'm missing here?  Thanks.
>
>Don
>
>__________________________________________________
>Do you Yahoo!?
>Faith Hill - Exclusive Performances, Videos & More
>http://faith.yahoo.com
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to