I've got a CGI task that will make web service calls using javascript. To do this, I have to reference webservice.htc in the html of my CGI task like so:
<body id="webServiceCallerBody" style="behavior:url(https://www.abc.com/iw/custom/webservice.htc)" onload="loadService()" >
However, it seems the htc file can't be found since I'm getting the following javascript error:
Error: webServiceCallerBody.useService is not a function
I tried putting an anchor in my html and the link works fine, so it's not a path issue.
<a href="
https://www.abc.com/iw/custom/hello.html
html</a>I tried putting the htc in the same folder as my ipl, but that didn't work either.
Any ideas?