Answers for "javascript get data attribute of selected option"

0

javascript get data attribute of selected option

function check_status(obj) {
  var uid = obj.options[obj.selectedIndex].getAttribute('data');
  alert(uid);
}
Posted by: Guest on September-09-2020

Code answers related to "javascript get data attribute of selected option"

Code answers related to "Javascript"

Browse Popular Code Answers by Language