I have a part of html code which is repeating on every of my page and i want to reuse it.
There is already a very nice link: Include another HTML file in a HTML file
I have used jQuery to load the html file (separate html file which i call template).
If that html file is static everything is working fine. But if my template file includes the elements which are using class (CSS) which is using java script to load - then it's not being loaded. Even if in original html file i am referencing correct css/java scripts in head section. Any ideas ?
Thanks,