Ryura thanks for the link. I'll try it although I want to learn and
know how to deal without a plugin :)
Ricardo, this looks like it does what I want :) Let's say I want the
content (loaded via the load method) hide/show or catch some clicks
inside it. Then I have to put all the code for all
You can't bind any events to the controls on $(document).ready() if
the html isn't there. I would try binding the event after you call $
(#content).load(loadLink,,hideLoader);
On Dec 21, 10:17 am, suntrop sprungm...@googlemail.com wrote:
Hi there.
I am loading some content into my page …
Sorry for that, but how can I bind the event after I call $
(#content).load(loadLink,,hideLoader);?
Do I have to replace hideLoader with a function that contains all the
new code?
Thanks for your help!
On 21 Dez., 17:30, DumpsterDoggy chris.mis...@gmail.com wrote:
You can't bind any events
Try the liveQuery plugin:
http://docs.jquery.com/Plugins/livequery
On Dec 21, 1:20 pm, suntrop sprungm...@googlemail.com wrote:
Sorry for that, but how can I bind the event after I call $
(#content).load(loadLink,,hideLoader);?
Do I have to replace hideLoader with a function that contains
If you add the event handlers to the callback you can get it working:
$(#content).load(loadLink, function(){
hideLoader();
$('.details').hide();
$('.showDetails').click(function() {
$('.details').slideToggle('slow');
return false;
});
})
On Dec 21, 4:20 pm, suntrop
5 matches
Mail list logo