Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (1.5k points)

Javascript - I want input from that textbox and button while I'm already in a function and don't want to restart the function?

1 Answer

0 votes
by (26.7k points)

Basically, you can split your code into two function, one function will going to set up the user interface, and then two function will act as a callback that will return the use clicks the button.

I hope this will help.

Want to become a Java Expert? Join Java Certification now!!

Want to know more about Java? Watch this video on Java Tutorial for Beginners | Java Programming:

Related questions

Browse Categories

...