New wiki-page
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<script> | <script> | ||
function change_cx() { | function change_cx(this.value) { | ||
alert(this.value); | alert(this.value); | ||
document.getElementById("marker").setAttribute("cx", this.value); | document.getElementById("marker").setAttribute("cx", this.value); |
Revision as of 17:27, 9 August 2017
<script>
function change_cx(this.value) {
alert(this.value); document.getElementById("marker").setAttribute("cx", this.value);
}
</script>
<input type="text" id="change" onchange="change_cx(this.value);">