Reputation:
I was looking to do something advanced: open multiple user accounts on a specific webpage, to make multiple appointments at the same time so I want to only load or refresh, the appointment div calendar, without refresh whole website. Again it is not my website, just external webpage for appointment
Upvotes: 0
Views: 1225
Reputation: 791
You can reference a div on another website using an iFrame. The iFrame is used to reference the div on the other website where the calendar of that person is located. You might want to add more information / code examples so that we can help you easier.
$('#yourPage').load('wwww.webSiteWithElementYouWant.com #calendarDivIdName');
This is a solution with inspiration from Pointy's answer on this page.
Edit 1
You should be able to target a class
by using:
$('#yourPage').load('wwww.webSiteWithElementYouWant.com .calendarDivClassName');
Upvotes: 1