add function to check button color
This commit is contained in:
parent
e1710e0739
commit
7fb47c28db
|
|
@ -1714,6 +1714,10 @@ function setButtonColor(buttonName) {
|
|||
function clearButtonColor(buttonName) {
|
||||
document.getElementById(buttonName).style.background = '';
|
||||
};
|
||||
function checkButtonColor(buttonName) {
|
||||
var color = document.getElementById(buttonName).style.background;
|
||||
return color;
|
||||
};
|
||||
function selectCheckbox(box) {
|
||||
box.filter("A")[0].classList.add("checked");
|
||||
box.filter("INPUT")[0].checked = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue