Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: SBennettPosted on 2008-04-02 at 10:38:21ID: 21265394
When you use ColdFusion.navigate to populate a cfdiv or a cflayoutarea, the browser will not create the functions included in your <script> tag. You need to define all your javascript functions in the main page. This is also why you need to use cfajaximport when you use any coldfusion code that generates javascript (suchase cfform, cfwindow, etc) in a template that is intended to be used within a cflayourarea, or a cfdiv, or a cfwindow.
cfm' file and place it in the head of the template with your cflayout tags.
So just cut the Function to Count and Limit Characters code out of the 'includes/departments-new.