This commit is contained in:
Aram HARUTYUNYAN 2013-10-14 12:15:18 +00:00
parent e9e14f9535
commit e8fa791e7c

View File

@ -240,11 +240,6 @@ $.datepicker.setDefaults( $.datepicker.regional["fr"] );
$('input[name=dateCapital]').datepicker({ changeMonth: true, changeYear: true });
$('input[name=dateNbActions]').datepicker({ changeMonth: true, changeYear: true });
$(document).ready(function(){
var code = $('select[name=adresse_pays]').val();
$('span#indTel').text('+'+countries[code]['indTel']);
});
$('input[name=isin]').change(function(e){
$.post('/saisie/checkisin', {isin: $(this).val() }, function success(data) {
if (data){$('input[name=isin]').css("border-color", "red");}
@ -303,4 +298,9 @@ $('a#google').on('click', function(e){
var val = $('input[name=nom]').val();
window.open('https://www.google.fr/#q='+encodeURIComponent(val));
});
$(document).ready(function(){
var code = $('select[name=adresse_pays]').val();
$('span#indTel').text('+'+countries[code]['indTel']);
});
</script>