0

Hello, how do I link to <input type = "text" /> and <input type = "button" /> to javascript and get the results

https://code.sololearn.com/Wnk2GHvqSqR4/?ref=app

21st Oct 2017, 6:22 AM
Luis Alberto
Luis Alberto - avatar
5 ответов
+ 3
Have you tried to search? there are many friends here who are really good with JS I'm pretty sure you can find a good code to study and make an example from. Just go to Code Playground and search with keyword "button" while selecting Web from the language filter. I would recommend the use of onclick event of the button mapped to a JS function, but I'm not really sure if that's what needs to be :) P.S. Can you remove that tick from my first post? I haven't done anything, people may think you have solved it, and refrain from offering solution. Hth, cmiiw
21st Oct 2017, 8:10 AM
Ipang
+ 3
You're welcome, still, I don't deserve that best answer mark :D I hope you can find a solution for your needs, cheers mate!
21st Oct 2017, 8:32 AM
Ipang
+ 2
What is it exactly that you need to do? your question is irrelevant with the linked code, the code covers the use of timers for manipulating Date, but your question is related with the use of input tag, please be more precise and detailed so more people would come to help.
21st Oct 2017, 7:36 AM
Ipang
+ 1
I want to get data from the user with the <input /> tag and make the data get interactive with javascript thanks
21st Oct 2017, 7:45 AM
Luis Alberto
Luis Alberto - avatar
+ 1
OK thanks friend
21st Oct 2017, 8:19 AM
Luis Alberto
Luis Alberto - avatar