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 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290151
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