[jQuery] Re: Use jQuery after a jQuery load

2008-02-09 Thread fufolewe

Hello,

thanks a lot for the hint! It works !! (I used the Live Query Plugin)

But i still have one problem which doens't work with:

I also work with the Thickbox plugin (http://jquery.com/demo/
thickbox/). I'm able to load some pictures inside a div field - no
prob- but thickbox doens't work anymore when I load some content in my
site :(

So the problem is quite the same like the first one... is there a
solution?


On 4 Feb., 15:04, Karl Swedberg [EMAIL PROTECTED] wrote:
 On Feb 4, 2008, at 3:12 AM, fufolewe wrote:



  However, so i'm able to load some content in the div-container BUT
  within the div field i would like to use jQuery AGAIN! And it doesn't
  work :(

 [...]
  so the main problem is: when i load a div field which also contains
  jQuery statements - it doesn't work. I also tried, to load the jQuery
  statements in the initial site, so it only have to load the new
  content but not the jQuery stuff but this also didn't work...

  Does anybody know how this could work???

 Hi,

 This question is asked quite frequently.

 http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st...

 After reading the FAQ, let us know if you still can't get it to work
 properly.

 --Karl
 _
 Karl Swedbergwww.englishrules.comwww.learningjquery.com


[jQuery] Use jQuery after a jQuery load

2008-02-04 Thread fufolewe

I've a little question maybe someone could give me a hint

My problem is:

i want to build a site with a navigation (with jQuery = no problem)
which loads some content in a main-div-field.
This is absolute no problem with e.g.

load( url, data, callback )

or

$.ajax(
{ type: POST,
 url: some.php,
data: name=Johnlocation=Boston,
success: function(msg){ alert( Data Saved:  + msg ); } });

and so on...

However, so i'm able to load some content in the div-container BUT
within the div field i would like to use jQuery AGAIN! And it doesn't
work :(

For exmple:

Inital start-site - navigation:

script

$(document).ready(function(){

$(a#start).click(function ()

{ load( url, data, callback ..


});

/script


so the content appears in the main div field...
And maybe the content looks like this:

div id=start


script

$(document).ready(function(){

$(a#test).click(function ()


});

/script


a href=# id=testtest/a

/div



so the main problem is: when i load a div field which also contains
jQuery statements - it doesn't work. I also tried, to load the jQuery
statements in the initial site, so it only have to load the new
content but not the jQuery stuff but this also didn't work...

Does anybody know how this could work???