0
How to push arrays of data In node js
I have html page on page load, will call a function which will have two arrays. that data should be pushed.
4 Respuestas
+ 4
Don't get what you mean. Please elaborate more.
+ 4
var arr = []; // create an empty array
arr.push(username); // arr[0] contains username
arr.push(password); // arr[1] contains password
+ 1
I have a html login page with username and password. i have an array which will have the username and password. the validation should be done on the server side with the values present in the array and the values should be displayed on another page. I want to do this by pushing this usernames and passwords into array. so how I could I do it
+ 1
Thank u I got it