Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Getting values of HTML elements in Coldfusion

  • 30-07-2004 9:15am
    #1
    Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭


    Hi guys,
    I'm using coldfusion for our work site, and really getting to like it. I'm setting up a system for the front page that shows users the last 3 links they've clicked, so they can easily go back to where they were when they last visited.

    Most of the pages are completely written, so what I want is to literally paste a chunk of coldfusion into each page that sets a new cookie for that page, but I also want to include the title of the page, so that each link is meaningful, instead of a just a URL.

    So is there any way of extracting the value from a page element, similar to javascript's - document.title?

    Or, is there a way of evaluating javascript code within the <cfset> tag, i.e. <cfset page_title="javascript: 'return document.title'">?

    Cheers


Advertisement