+ 1

How to access object data through user input?

Hello, I want something like when a user type something, the browser should return related info defined in the object. I don't where is the problem. Please tell I can do that... 🙏 https://code.sololearn.com/WmPmhEzXtW8f/?ref=app

21st Feb 2022, 8:43 AM
Nitin Chavhan
Nitin Chavhan - avatar
2 Answers
+ 1
// JS myFunction = () => { //rslt.innerHTML = "name:" + tpenrol.value ; rslt.innerHTML = "name:" + SS2348.name ; }
21st Feb 2022, 8:57 AM
SoloProg
SoloProg - avatar
21st Feb 2022, 9:12 AM
SoloProg
SoloProg - avatar