Need to take variables from user input (Javascript ) [closed]
get the input from the input element and split the input element value using string.split() method. It will separate it in array. So, using array index, you could get those array values in separate variable. declare those variables globally to get that value from anywhere and any other js file you want. I created a … Read more