How to load ajax lightbox using Fancybox3 & amp; jquery without data attributes


A question from noob.

I have a link

<a href="/page.html">Link</a>

I have a page.html

<div id="one">
<div id="two">

How to load #two div using Fancybox3 ajax lightbox without changing link through adding data-attributes like "data-fancybox" or "href=" to "data-src=" override.

Sorry for my englando :)

You can add custom click event to your link and then open fancybox manually.