forked from v4l3n71n/covas-bo
add change value
This commit is contained in:
parent
81d3e97c1f
commit
9fb1413f14
@ -114,11 +114,17 @@ document.getElementById("searchUser").addEventListener("keydown", function(ev){
|
||||
});
|
||||
|
||||
document.getElementById("inputStatus").addEventListener("change", function(e){
|
||||
alert(e.target.value);
|
||||
var search = document.getElementById("searchUser").value;
|
||||
var select = document.getElementById("inputRoles");
|
||||
var roles = select.options[select.selectedIndex].value;
|
||||
alert(e.target.value+" "+roles+" "+search);
|
||||
});
|
||||
|
||||
document.getElementById("inputRoles").addEventListener("change", function(e){
|
||||
alert(e.target.value);
|
||||
var search = document.getElementById("searchUser").value;
|
||||
var select = document.getElementById("inputStatus");
|
||||
var status = select.options[select.selectedIndex].value;
|
||||
alert(e.target.value+" "+status+" "+search);
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user