+ 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
2 Réponses
+ 1
// JS
myFunction = () => {
//rslt.innerHTML = "name:" + tpenrol.value ;
rslt.innerHTML = "name:" + SS2348.name ;
}
+ 1
JavaScript Objects
https://www.w3schools.com/js/js_objects.asp