how to get value of button that click on it jquery
$("button").click(function() {
var button = $(this).val();
alert(button);
});
Also in JavaScript:
- sort a string in javascript
- sweet alert js
- download a file nodejs
- getusermedia example
- int to string javascript
- Javascript get current year
- foreach key value javascript
- jquery disable class attribute
- how to use await to console
- how to reload page on button click in javascript
- javascript detect browser
- ReferenceError: fs is not defined node js
- Warning: Failed child context type: Invalid child context `virtualizedCell.cellKey` of type
- Unterminated quote at columns 0-8 ['MM-yyyy] in expression ['MM-yyyy]
- getrect javascript
- for of and for in javascript
- input output ionic
- javascript foreach get key and value
- linear search js
- convert date format from yyyy-mm-dd to dd-mm-yyyy using value javascript
- js check if function is a constructor
- Object as a Function
- firebase timestamp to date angular
- node start is too slow windows 10