I'm loading content from one page into another via the jquery .load event. I'm currently doing it like this:
$('#someDiv').load('/directory/file.html #someDiv');
However I have multiple content blocks to load from the same page, so It would be better if I didn't have to specify the name of the div every time. Since they are the same on both pages, is there a way to say, "find a div on page1 and load its content into the matching div on page2? The idea is to not have to update the script every time there is new content added.
Any help would be appreciated.