0
votes

function myFunction() { document.getElementById('foo').style.cssText = 'border-color: rgb(0, 0, 255);color: black;font-size: 20px;padding: 0px;margin: 10px 20px'; document.getElementById("demo").innerHTML = "8500$" }