New wiki-page
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<script>
<script>


document.getElementById('change').addEventListener('keyup', function (evt) {
function change_cx() {
     alert(this.value);
     alert(this.value);
     document.getElementById("marker").setAttribute("cx", this.value);
     document.getElementById("marker").setAttribute("cx", this.value);
}, false);
}


</script>
</script>


<input type="text" id="change">
<input type="text" id="change" oninput="change_cx(this.value);">

Revision as of 17:26, 9 August 2017

<script>

function change_cx() {

   alert(this.value);
   document.getElementById("marker").setAttribute("cx", this.value);

}

</script>

<input type="text" id="change" oninput="change_cx(this.value);">