I am trying to add some dynamic function to one content page of a Magento 2 site, but didn't manage to do it. Here is what I thought:
<head> <css src="https://xxxxxx.com/xxxx/css/abc.css" src_type="url" /> <script src="https://xxxxxx.com/xxxx/js/abc.js" src_type="url" /> </head>
2) at the "content" of the page:
However, it didn't work. The console shows "jQuery" is not defined, and the xxyy is not a function.
I don't intend to add these JS files and CSS files globally, as I will only use this function at this content page only. What am I missing here?
Your help is much appreciated!