Welcome to WebmasterWorld Guest from 22.214.171.124
var string = document.getElementById('select').value;
var explode = string.split(":");
var firstChunk = explode;//this is the "123" chunk
var secondChunk = explode;//this is the "USA" chunk
Now, this value "123" is being used for another purpose in my code and it is required to be there. But at the same time, I need to send the value of USA also to my submitted php code.