Radityanugrap

Uji Level

Sep 14th, 2020
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  var stocks = document.getElementById('stock' + nodata + '')
  2.         if (Number(stocks.innerHTML) < 5) {
  3.             stocks.style.backgroundColor = "red"
  4.             stocks.style.color = "white"
  5.         } else {
  6.             stocks.style.backgroundColor = ""
  7.             stocks.style.color = ""
  8.         }
Add Comment
Please, Sign In to add comment