Hello folks,
Is it possible to call a CSS code from inside the JS code in XWiki.The
Javascript code has been written to import CSS from a specific folder in the
web application structure. However, in XWiki, I've added both the JS & the
CSS code to the same Page using the Javascript & Stylesheet extensions. The
problem is that the JS file is unable to find the CSS code embedded inside
the same Page. Do I have to use the URL of the Stylesheet or do I write some
velocity code to get the run-time URL of the CSS file? Would this method
work.Any help is appreciated. Thank you.