I already tried that.
It works for “internal” snippets with “snippets/” as the path part, but when using “file://C:/dir/” as a path, I get a small warning sign that is attached to the scripts name in the list (when switching to preview).
There is no message available that tells what is wrong - it just doesn’t work.
My apologies, it requires 3 slashes. This worked fine for me:
results.loadhtml(“file:///c:/data/submitfile.html”);
If you have a warning sign in preview, it’s probably because either the selector is wrong (you’re trying to put the snippet in an element that doesn’t exist, such as a wrong ID), or perhaps the file doesn’t exist on the drive? Like I said, the above works perfectly for me with a simple selector on p.contents , where .