New wiki-page
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<script> | <script> | ||
function change_cx() { | |||
alert(this.value); | alert(this.value); | ||
document.getElementById("marker").setAttribute("cx", this.value); | document.getElementById("marker").setAttribute("cx", this.value); | ||
} | } | ||
</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);">