You are still missing a ' after the href=

Regards
Dale Fraser

http://learncf.com

-----Original Message-----
From: ismail cassiem [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 4 October 2007 9:36 PM
To: CF-Talk
Subject: Re: Passing query value via a javascript to next form

Sorry I copied it incorrectly buut still does not work. 

  location.href=Mis012F3.cfm?dblib=#dblib#&Corp="+'#trim(Corp_Cust_Code)#'; 


>I think your missing a quote and a #.
>
>Change
>
>location.href=Mis012F3.cfm?dblib=#dblibCorp="+'#trim(Corp_Cust_Code)#';
>
>to
>
>location.href='Mis012F3.cfm?dblib=#dblibCorp#='+'#trim(Corp_Cust_Code)#';
>
>but it still doesn't make sense why the + is in there.
>
>Regards
>Dale Fraser
>
>http://learncf.com
>
>
>Hi, I need help passing the value through to the next form via javascript
>it does not like the value ="+'#trim(Corp_Cust_Code)#'; 
>
><cfoutput query="get_info">
><tr onclick=onCust();>
> <td>
>   #cust#
> </td> 
></tr>
></cfoutput>
>
><script language="javascript">
>   function onCust()
>   {    
>
location.href=Mis012F3.cfm?dblib=#dblibCorp="+'#trim(Corp_Cust_Code)#';
>
>   }
></script>
>
>Please any help, Regards 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290154
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to