JQuery load div problem

JavaScript related questions should go here.
Post Reply
irfanh94
Posts: 26
Joined: Thu May 05, 2011 7:43 pm

JQuery load div problem

Post by irfanh94 »

How can load only div from file..

I saw on alex's tutorial about shout box, and there is whole page loaded. But how can i load only div from some page?

Example: i have the file called shout.php and into that have many divs, and i want load only div where is shouts. Is that possible?
Josh
Posts: 38
Joined: Tue Oct 11, 2011 9:31 pm

Re: JQuery load div problem

Post by Josh »

How about loading 'shout.php?part=1' then in the shout.php checking if $_GET['part'] == 1 and if it does then just echo out the div or something similar.
Post Reply