lambdaway
::
interaction
2
|
list
|
login
|
load
|
|
_h1 interaction _ul [[http://rosettacode.org/wiki/GUI_component_interaction|http://rosettacode.org/wiki/GUI_component_interaction]] {pre {input {@ id="input" type="text" value="0"}} {input {@ type="button" value="increment" onclick="document.getElementById('input').value = parseInt( document.getElementById('input').value ) + 1;"}} {input {@ type="button" value="random" onclick="if (confirm( 'yes?' )) document.getElementById('input').value = Math.round(Math.random()*100);"}} } _h2 code {pre °° {input {@ id="input" type="text" value="0"}} {input {@ type="button" value="increment" onclick="document.getElementById('input').value = parseInt( document.getElementById('input').value ) + 1;"}} {input {@ type="button" value="random" onclick="if (confirm( 'yes?' )) document.getElementById('input').value = Math.round(Math.random()*100);"}} °°}
lambdaway v.20211111