I have a page generated by php specifically for use in jQuery. It has 3 divs with 3 different IDs.
I’ve been using .load() to get the contents of each div and put it within the page, but I’ve realized that if I use it multiple times within the page (ex: load the same page, get different div each time) it actually reloads the page every time it’s used.
I’m not very experienced with jQuery, so I don’t know how to get the html of the page just once and then manipulate it so I can get the contents of each div. I assume with .ajax right? But can someone point me in the direction of how exactly I’d do that–the jQuery docs don’t help me out too much with this.