+ 2
How to store user input html values in a js array?
I'm trying to create a login portal. In which I need to ask the user to enter their informations and store it in a JavaScript array. And then I gave a menu login, in which I'll ask to enter the Username and password. After that I need to check the user name and password with the array.
14 ответов
+ 2
You can add inputs to a array with this code:
https://code.sololearn.com/W2orZC7ax93L/?ref=app
0
is it is JavaScript?
0
Yes, it is Javascript but with a library called Jquery.
0
I'm very new to JavaScript.... so will you please answer me with pure Js basic? please....
0
Sure, I am busy right now but I will make it later, okey?
0
okay and very thank you bro.... I'll be waiting for your reply....!!
0
Here you go:
https://code.sololearn.com/WpKeV4gK89e2/?ref=app
0
thank you very much.... now I will gonna execute this...
0
also I have another question... may I ask here?
0
Sure
0
Im going to create a sample page. it will contain list of questions, if the user clicks the question the answer need to display. if clicked another question the answer for previous question need to be closed and the answer for new question should be displayed.
give me solution with the same Html and js....
let me know when you free
0
Is it okey if I make that with Jquery? I suggest you also use jquery because it makes everything much easier!
0
I don't know jquery.... to know this, first I need to study js....so that only.... please
0
Then I can't help you... Sorry!
Maybe someone else can help you.