I have a page that has a few content changes set for onclick actions.
In the parent document, I declare a variable via JS
var imgDIV = ".overlay_img#imageID#";
However, this variable is not available to a page called via ajax aka $.get(). The page retrieved via ajax references the variable but it doesn't see it.
Is there a way to declare the variable so that pages called via AJAX will also see it?
In the parent document, I declare a variable via JS
var imgDIV = ".overlay_img#imageID#";
However, this variable is not available to a page called via ajax aka $.get(). The page retrieved via ajax references the variable but it doesn't see it.
Is there a way to declare the variable so that pages called via AJAX will also see it?