Stec Records Forum

Tools to make music

News: Note that we check all new user requests for spam violations. If you believe you have been rejected unfairly please contact us and we will attempt to resolve it with you. - Stecrew

Calling javascript on the original page from the callback (Read 3991 times)

  • Administrator
  • Hero Member
  • bob
  • Posts: 773
  • Karma: +0/-0
  • Time reveals truth.
    • Bob Sellon's Home Page
I have a situation where I need to run some javascript code on the original caller's page from within an AJAX callback. There is almost certainly a better way of doing this but I've got a page that gets updated via an AJAX call (http request) attached to the onLoad for the page. The trick is that I need to apply <a href="" target="_blank">TinyMce[/url] to a textarea on the html that gets written to the original page in the callback.

I've tried implementing the <a href="" target="_blank">TinyMce[/url] code in the callback itself but it doesn't seem to work.

I've done quite a bit of research on this but have not found any answers so I figured I've put a post on the board to see if anyone has dealt with this before.