top of page

Forum Posts

MV
Apr 29, 2021
In Coding with Velo
I am looking to add <script> tag in head of my main page as following <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places&key=abcd2234"></script> And then using module google in my public/*.js file. But neither head is set as above nor I: can use module google. Whats going on?
0
0
49
MV
Apr 12, 2021
In Coding with Velo
I need to add secret key in script src url, which I add in custom code header from settings->custom_code. e.g. I need to call script as following <script> import {getSecret} from 'wix-secrets-backend'; const myKey = getSecret('MyKey') </script> <script src="https : / / xyzsite . com / js ? v=3.exp&key=$myKey"></script> How can I do it. In above example I can't pass "$myKey".
0
1
16
MV
Apr 05, 2021
In Coding with Velo
I want to add code like following in main page of my wix site 1. <div id="Myplace"></div> Then want to populate it in my javacript code as following 2. $w('#Myplace').id.innerHTML="Temperatue is ...."; My proposed solution was to add code snippet in "Body End" in "advanced->custom code" setting then Write javascript code in dev mdoe "Home" page java script code. But it doesn't work.
0
5
466

MV

More actions
bottom of page