I have select with country code
<select name="countryCode" id="">
<option data-countryCode="GB" value="44" Selected>UK (+44)</option>
<option data-countryCode="US" value="1">USA (+1)</option>
<optgroup label="Other countries">
<option data-countryCode="DZ" value="213">Algeria (+213)</option>
<option data-countryCode="AD" value="376">Andorra (+376)</option>
</optgroup>
</select>
On next field i have enter your phone
<input type="text" placeholder="Enter your mobile phone" data="required" id="phone" data-content='Your mobile phone'>
What i need is when user select country code to append phone input like this If user select Algeria (+213), and when he click on input phone, to append his value like this +213, and then allow him to enter the futher number.