I am developing a webpage that is jquery powered. Many div-hotspots in the page is ajax powered and they should update dynamically. For example number of ratings average rating number that a video is favoured
Now i am doing this: $("#DIV1...").load(some1.php); $("#DIV2...").load(some2.php); $("#DIV3...").load(some3.php); But the number of .php files are increasing too much. Is there another idea except to have one .php with many IF ELSE inside? thanks