Difference between revisions of "ARIA Live"

From Level Access Web Labs
Jump to navigation Jump to search
Line 6: Line 6:
 
var result1 = 0;
 
var result1 = 0;
  
function update1() {
+
function update() {
 
result1 = result1 + 1;
 
result1 = result1 + 1;
 
document.getElementById("result1").innerHTML=result1;
 
document.getElementById("result1").innerHTML=result1;
Line 21: Line 21:
  
 
<div>
 
<div>
<button onclick="update1();">Update result</button>
+
<button onclick="update();">Update result</button>
 
<button onclick="auto();">Auto Update result</button>
 
<button onclick="auto();">Auto Update result</button>
 
</div>
 
</div>

Revision as of 19:14, 23 May 2018

... ...

...