I have a field named tags. The input to this field can be any number of strings,depending on the user.And I need to store those strings in separate variable names. I tried something like this:
var tagsInputArray = ["a", "b"......n elements];
var tagsLength = tagsInputArray.length;
var count = 0;
for (count; count < tagsLength; count++) {
var tags[count] = tagsInputArray[count];
}
This is not working. How can I do it in jQuery?
I need to store those strings in separate variable namesWhat do you mean by this? Give an example