This is my entire page of javascript. I’m using the editor’s GUI to connect the submit button to the page. I’m not using the insert() function. Do I need to do that in order for this to work? If so, why? Thanks!
import wixLocation from ‘wix-location’;
$w.onReady( function () {
//TODO: write your page related code here…
let url = wixLocation.url;
$w(“#input5”).value= url;
let ID;
$w(“#button30”).onMouseIn( (event, $w) => {
//Add your code for this event here:
$w(“#text89”).text=“no”;
ID = $w(“#text89”).text;
});
$w(“#input10”).value = ID;
});