We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am trying to use this library in a snippet code that is hosted as a static .js file in a cdn share.
this script is imported by several other 3rd party websites.
I am using the below code in the static .js file.
// ouibounce script load var ouibounceScript = document.createElement("script"); ouibounceScript.src = "https://cdnjs.cloudflare.com/ajax/libs/ouibounce/0.0.12/ouibounce.js"; document.head.appendChild(ouibounceScript);
var modal = ouibounce(document.getElementById("widget-view")); modal.fire();
However this is throwing me an error stating ouibounce is not defined
Can you please help?
Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am trying to use this library in a snippet code that is hosted as a static .js file in a cdn share.
this script is imported by several other 3rd party websites.
I am using the below code in the static .js file.
// ouibounce script load
var ouibounceScript = document.createElement("script");
ouibounceScript.src =
"https://cdnjs.cloudflare.com/ajax/libs/ouibounce/0.0.12/ouibounce.js";
document.head.appendChild(ouibounceScript);
var modal = ouibounce(document.getElementById("widget-view"));
modal.fire();
However this is throwing me an error stating ouibounce is not defined
Can you please help?
Thanks.
The text was updated successfully, but these errors were encountered: