I have enqueued scripts using wp_enqueue_script and I can see in the source code that they are loaded fine and if I click on the link to the script, it comes up on the screen so I know it's in place. My problem is with the xml files referenced by the scripts.
The scripts refer to xml files in "myfolder" which I have located here: http://www.mydomain/wp-content/themes/mytheme/myfolder
The js file references the xml in this way:
var xmlDoc=loadXMLDoc("myfolder/sys_calcs.xml");
The .xml files are not being loaded. I've tried this as well, but it doesn't work:
var xmlDoc=loadXMLDoc("http://www.mydomain/wp-content/themes/mytheme/myfolder/sys_calcs.xml");
How do i get these xmls to load?
if I just use a regular page.html that has all this code, it works fine but i want to create this page in wordpress.