I am trying to change the value of the inputfields with JQuery and I have no idea why this doesn't work. It does not throw an error but it just doesn't change. I'm building with appgyver steroids but i don't think that matters.
javascript:
$(document.getElementById("url")).val('test');
html
<input type="text" id="url" class="topcoat-text-input"
style="margin-left:10%; margin-top:10px; width: 80%; text-align: center" autocapitalize="off"
autocorrect="off" required="true"
placeholder="something else"/>
$(document.getElementById("url")).val('test');is excessive. if you want a jquery object use$("#url"). If you just want to change the value just usedocument.getElementById("url").value = "test".