Thank You for Your Assistance, I got it going. onclick="onCust('#trim(Corp_Cust_Code)#');">
function onCust(cust) { location.href="Mis012F3.cfm?dblib=#dblib#&Corp="+cust; } Thank You >You are still missing a ' after the href= > >Regards >Dale Fraser > >http://learncf.com > >Sorry I copied it incorrectly buut still does not work. > > location.href=Mis012F3.cfm?dblib=#dblib#&Corp="+'#trim(Corp_Cust_Code)#'; > > >location.href=Mis012F3.cfm?dblib=#dblibCorp="+'#trim(Corp_Cust_Code)#'; >> >> } >></script> >> >>Please any help, Regards ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290156 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4