I want my option tag to have multiple values something like
<option value="+1" value="United States">United States</option>
Then:
This is not supported by html. The only options I can think of is
1) translate the single value so it represents seperate things in the seperate system
2) Have the select onchange modify another hidden input value.
maybe you can choose different attribute for each value. <option value="United States" value2="+1">
. attribute 'value' using for php and 'value2' for java. i'm not capable in java but in javascript (jquery) it simply call $('option').attr('value2')