Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Updating cfmodule with AJAX

Participant ,
Jul 03, 2008 Jul 03, 2008
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

484
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 03, 2008 Jul 03, 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/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 09, 2008 Jul 09, 2008
LATEST
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources