Can’t get a JavaScript Snippet (JS) run with attributes
-
Hello Artem,
I’ve read your FAQ, but I cannot find an answer to my problem.
I need to run a JS-Snippet with a function that uses two attributes (“att_1” and “att_2”). Is that possible?
Shortcode in page:
[wbcr_js_snippet id="3892" title="JS test snippet" att_1="TEST-1" att_2="TEST-2"]
For this I simplify the code. The following JS snippet works fine, when I run it WITHOUT using attributes:
document.write("TEST-1" + "<br>" + "TEST-2");
Please can you give me a working example for this code with the two attributes (“att_1” and “att_2”)?
Best regards
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Can’t get a JavaScript Snippet (JS) run with attributes’ is closed to new replies.