0
Scaling size object with textinput and button in html5
Community Beginner
,
/t5/animate-discussions/scaling-size-object-with-textinput-and-button-in-html5/td-p/12624761
Dec 29, 2021
Dec 29, 2021
Copy link to clipboard
Copied
Hi everyone, it's me again😊
There is an object, button and input text field:
when I put the number in the input text field and then click the button, it will change size of the object.
How can I do this using html5? Can anyone tell me the code?
Thanks in advance!
Have a nice day
TOPICS
Code
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/animate-discussions/scaling-size-object-with-textinput-and-button-in-html5/m-p/12625472#M350040
Dec 30, 2021
Dec 30, 2021
Copy link to clipboard
Copied
this is html5:
if(!this.ti_change_cbk) {
function ti_change(e) {
this.line_mc.scaleY = e.target.value;
}
$("#dom_overlay_container").on("change", "#ti", ti_change.bind(this));
this.ti_change_cbk = true;
}
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

