Hi 123,

I believe that in showContent.php, your jQuery must relates to the DOM of your 
base.php.
So you should change your jQuery in showContent so that the markups call like 
$("#someDiv") works in the base.php flow.


123gotoandplay a écrit :
Hi there,

I am having a problem to enable jquey in a loaded page.

For example:

base.php has jquery and i load showContent.php like:

$(document).ready(function() {
        $("#show").click(function() {
                $("#content").css("overflow-y", "scroll");
        $("#content").load("showContent.php");
                });

but now the jquery in showContent.php doesn't work.

if i directly browse to showContent.php the jquery does work

Any tips?

Reply via email to