Hi everyone, I need coldfusion and javascript to grab a value of an element on a static html page to provide a page title for a template. Alright, let me explain :-)
I have a coldfusion page template. <cfoutput> <html> <head> <title>#PageTitle#</title> </head> <body> <cfinclude url="myContent.html"> </body> </html> </cfoutput> The content of myContent.html is this: <div id="pagetitle">My Page Title</div> <p>This is my page content</p> Is there a way to use javascript to capture the value of the pagetitle element and then pass that to coldfusion to fill in where #PageTitle# is... or instead of using #PageTitle# use javascript to dynamically fill in the <title></title> tags. Thanks for any thoughts. -lsanchez ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3076 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
