How to include html file in another html file and then alert result via JavaScript and jQuery
16:21 21 Jun 2021

I am trying to include html file in another html file and then alert result. I found a solution here.

How do I alert the content of b.html instead of calling it in div. Something like

alert('b.html content here');

a.html:

 
   
     
     
   

   
     

b.html:

This is my include file

javascript html jquery