javascript get data attribute of selected option
function check_status(obj) {
var uid = obj.options[obj.selectedIndex].getAttribute('data');
alert(uid);
}
Also in JavaScript:
- monk remove
- create callback function javascript
- javascript delete user input value in array
- js tostring
- integer to array javascript
- dom queryselector
- javascript check if function exists
- underscore js check boolean value
- beautify json python
- hide checkbox jquery
- js rounding
- node js util promisify
- append to array js
- store the text from a form jquery
- how to display current date and time in angular
- javascript find element in array and remove
- how to get a due date from current date in javascript
- macos chrome disable web security
- how to make a javascript game
- Bots server count discord js
- HIDE BROKEN IMAGES
- js get color of pixel
- jquery check if url contains string
- pm2 group console messages