I had create a calculator. I want to use onclick event to enter number in input screen by just clicking button but I couldn't create perfect logic in function.plz help me to solve it out. https://code.sololearn.com/W8zqhePpIHw3/?ref=app
9/22/2018 1:45:55 PM
Abhishek Shailendra Khandare7 Answers
New Answeruse the dis function on js in this code https://code.sololearn.com/WKc1bJvyiEq1/?ref=app
Alternatively you could use a for loop to detect all buttons being clicked, in a few lines like so.. https://code.sololearn.com/WSEeKw3LvPWN/#html
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message