I have to paste the data in HTML input text fields in the following format from MS excel or same type of sheets:
123456 12 this
234567 3 before blank
111111 3
222222 3 after blank
I copied the data from MS Excel which contain the single tab between 12 and this and so on.. I have tried to implement it but didn’t work for me. The above data will be pasted into a text area and it save into a another JavaScript variable into the following format:
<row dc= '" + arr[0] + "' al='" + arr[1] + "' msg='" + arr[2] + "' />
Where arr[0] is 123456, and arr[1] is 12 and arr[3] is this and so on by appending the value.
Working Sample:-