Skip to main content
Inspiring
July 3, 2008
Question

Updating cfmodule with AJAX

  • July 3, 2008
  • 2 replies
  • 533 views
Hi Folks,

Can anyone please tell me how I can update the cfmodule using ajax?

I can use the innerHTML function with a div and it works fine. Can anyone tell me how I can get it to work with cfmodule? Here is my code:

Thankyou

    This topic has been closed for replies.

    2 replies

    July 9, 2008
    If I understand you, you want to use AJAX to modify the code in the CFmodule block. The AJAX code is operating in the browser but the CFML code is executed on the server and is replaced by whatever code is included into the page by the cfmodule tag. That is, that block of code no longer exists when the page is delivered to the browser.

    You would need to look at the page source to see what code is there that can be accessed by the AJAX javascript.
    Inspiring
    July 3, 2008
    check the docs on FCKeditor site about how to set the value of the
    richtext area.

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/