Marlon,

My oversight (forgot n here is a single space string
value), so now I've made change as follows:

'reportMain.cfm?rtype=n&report_ID='+rid
OR
'reportMain.cfm?rtype='a st value'&report_ID='+rid

Thanks.

Don


--- Marlon Moyer <[EMAIL PROTECTED]> wrote:
> then wouldn't you have to escape the single quotes
> like this:
> rtype=\'n\'&
> 
> CS wrote:
> 
> >Marlon,
> >
> >n is a string value for the parameter of 'rtype'
> but
> >rid is a var, handled differently already.  Thanks
> >though.
> >
> >Don
> >
> >--- Marlon Moyer <[EMAIL PROTECTED]> wrote:
> >  
> >
> >>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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to