How to include js file in ajax call?

Posted by Anubhaw on Stack Overflow See other posts from Stack Overflow or by Anubhaw
Published on 2010-04-20T08:19:21Z Indexed on 2010/04/20 8:23 UTC
Read the original article Hit count: 202

Filed under:
|
|

Hi All,

I am calling a ajax method to update a div. It contains links and functions which require java script files. But these methods and functions are not getting called properly as java script files are not getting included through ajax call. For example, i am trying to call a light box function, but it gets redirected to different page and not in light box.

Thanks in advance, Anubhaw Prakash

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about AJAX