I am using a html page which has many tooltips. each tooltip has a gallery, since it is not possible to use multiple gallery which has same id, I am planning to create 6 different html files for gallery, then load the gallery into my default page.
I need to cal the html page for each div. I tried .load but it is not working.
<div id="flrmain">need to call the html file inside this div.<div>
Please help.
$.get('test.html')
.success(function(data) {
$('div.content').html(data);
});
EDIT
If you need it for that specific div
, replace 'div.content'
with '#flrmain'
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With