js input text set value
document.getElementById("myInputID").value = "My Value"; //set value on myInputID
js input text set value
document.getElementById("myInputID").value = "My Value"; //set value on myInputID
how to change input value in javascript using class
// Find the input element with a class of "bar" that is a direct child of a form with a name attribute of "foo"
document.querySelector("form[name='foo'] > input.bar").value = "hehe works"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us