Skip to main content
Known Participant
July 6, 2007
Answered

Calling custom CF tag from javascript

  • July 6, 2007
  • 2 replies
  • 1067 views
Could someone please help me by posting some psuedo code to call a custome cf tag from javascript? I am feeling pretty dumb but can't figure it out...

Thanks bunches!
Va.
This topic has been closed for replies.
Correct answer Dan_Bracuk
Have the button submit a form to another cf page that calls the custom tag. If you don't want to actually leave the page you are on, put the target page into a little bitty iframe.

2 replies

Dan_BracukCorrect answer
Inspiring
July 6, 2007
Have the button submit a form to another cf page that calls the custom tag. If you don't want to actually leave the page you are on, put the target page into a little bitty iframe.
Inspiring
July 6, 2007
Javascript runs on the client. Cold fusion runs on the server. There are ways around this, but it depends on how you are starting the javascript and what the custom tag does.

ironyxAuthor
Known Participant
July 6, 2007
Press button, call tag to export to excel... so client, server shouldn't be an issue... :-)

thanks,
Va.