Hi all ...

I have some small problems with Jquery ...

I have a index.php site, inside this file it gives some <div>'s with
ID's. When i load the index.php file (over $.ajax), it isnt accessible
for me  ... i thinks its better when i make a example...

$.ajax({
   url:'/index.php',
   type:'GET',
   success: function(data) {
       var responseText = $(data);
       $('body').html(responseText.find('body').html());
   }
})

This example does not work by me, make i something wrong? Another
issue is, that i can only find elements that are enclosed by a <div>
tag, but a <body> tag i cant make the <div> arround, because outside
of <body> <div>'s will not be recognized ...


Anybody have me a hint for this? Thanks a lot and have a nice day ...


Cheers
WebHamster

Reply via email to