Hello, How can I combine my two arrays “foo” and “bar” into one (I have the table “words”) after checking the ckeckboxes (and how to disable by unchecking)? I will add that these are sample tables and there will be more of them?
Okay, I don’t know why I thought this code dosen’t work, but how for example “bar” array can be added to “words” array after click the checkbox? without any refreshing, it’s possible?
Your title is How can I combine two or more arrays without refreshing the page but the question says nothing about refreshing the page. And I do not know what you mean by refreshing the page. Other than that, I won’t repeat what has already been said.