Heys guys, I am currently using jquery and ajax to create a webpage. I am using ajax to load a web page that is using a jquery plugin(light-box plugin). The jquery plugin does not seem to work on this ajax loaded page but works properly when the page when it is loaded individually. So is this some problem with the plugin because of which the page is not loading and is there any solution to it.
When the page is loaded on its own the page load event will be fired bu this won't happen if loaded through AJAX. You need to call the same javascript after the ajax call has completed
So whatever is in
$(document).ready(function () ..
or
$(function ()
you need to also call after the ajax has completed