> if i call a function say 'myfun' using <cfset 
> ajaxOnLoad("myfun")> for a cfgrid, the function will work 
> ONLY IF PUT INSIDE <HEAD></HEAD> tags. i need to make that js 
> dynamic.. please some one can help me with any tweaks that 
> will allow JS to be placed anywhere in the code ?

I'm not sure what you mean by "make [it] dynamic". Your function will need
to be declared before it's invoked.

If you simply need to write the function using CF before delivering it to
the browser, you can use the CFHTMLHEAD tag to place the output that creates
the function in the document HEAD.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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

Reply via email to