] Re: How to enable jquery in a loaded page?
ok i think i understand the callback.
But what about showContent.php in a thickbox iframe ??? i am
trying this without any look
a href=showContent.php?
action=addContentkeepThis=trueTB_iframe=trueheight=450width=550
class=thickbox
again when i
hmm, so i need to put all the javascript, i have in showContent.php's $
(document).ready(function () {
in a callback function??
Can i leave the other js functions in showContent.php or should i copy
those function into my base php file??
regards,
On 6 feb, 15:33, ilovejquery
ok i think i understand the callback.
But what about showContent.php in a thickbox iframe ??? i am trying
this without any look
a href=showContent.php?
action=addContentkeepThis=trueTB_iframe=trueheight=450width=550
class=thickbox
again when i directly browse to showContent.php it works but
@googlegroups.com
[mailto:jquery...@googlegroups.com] On Behalf Of 123gotoandplay
Sent: Saturday, February 07, 2009 1:39 PM
To: jQuery (English)
Subject: [jQuery] Re: How to enable jquery in a loaded page?
hmm, so i need to put all the javascript, i have in
showContent.php's
Of 123gotoandplay
Sent: Saturday, February 07, 2009 3:25 PM
To: jQuery (English)
Subject: [jQuery] Re: How to enable jquery in a loaded page?
ok i think i understand the callback.
But what about showContent.php in a thickbox iframe ??? i am
trying this without any look
a href=showContent.php
It's probably because your jquery code is in $(document).ready()
function and it is never fired when you load with .load().
Put your code in callback function like this:
$(document).ready(function() {
$(#show).click(function() {
$(#content).css(overflow-y, scroll);
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
7 matches
Mail list logo