Scaling size object with textinput and button in html5

Community Beginner ,
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

Views

69

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 30, 2021 Dec 30, 2021

Copy link to clipboard

Copied

LATEST

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;
}

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines