Create a html page that works and then insert that complete html page into an HTML Component. That will work. Adding scripts that will change the DOM in Wix is tricky and not easy or allowed or possible in so many ways.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Attempting to add a script to a site using the wix code editor | 5 | 247 | October 18, 2018 | |
| How to add properly HTML code with Javascript? | 13 | 2908 | October 28, 2019 | |
| Can I add Javascript? | 1 | 835 | January 7, 2018 | |
| add page | 2 | 104 | February 27, 2018 | |
| Head or body | 1 | 152 | July 29, 2018 |