js console log input value
<input type="text" placeholder="name" id="uname" />
<input type="button"value="submit" onclick="send()" />
let uname = document.querySelector("#uname");
function send() {
console.log(uname.value);
}
Also in JavaScript:
- input text react 2020
- react lifecycle hooks
- less than or equal js
- axios post with header
- jquery loop through each child element
- nodejs map
- fizzbuzz javascript
- number to string javascript
- GET req with js
- cannot use wildcard in access-control-allow-origin when credentials flag is true
- React looping hooks to display in other hook
- javascript get intersection of two arrays
- d3 paning
- string json to object c#
- number to array javascript
- javascript loop object
- navlink activestyle not working
- jquery add input placeholder
- js in_array
- add coustom handlechange fprmik
- how to change css variable in javascript
- js yesterday date
- download a file nodejs
- javascript write to file