use id in your text boxes and select text box by their respective id instead of class.
<input id="t1" type="text" placeholder="Country Code" class="phone" />
<input id="t2" type="text" placeholder="phone number" class="phone" />
$(document).ready(function(){
$('#t1').......;
$('#t2').......;
});