From d335aa9774e5672e5d9176a170ebbbedbb493f21 Mon Sep 17 00:00:00 2001 From: Aram HARUTYUNYAN Date: Mon, 11 Nov 2013 11:36:12 +0000 Subject: [PATCH] =?UTF-8?q?Issue=20#0001727:=20Ajouter=20le=20champs=20lor?= =?UTF-8?q?s=20de=20l'=C3=A9dition=20de=20soci=C3=A9t=C3=A9=20avec=20SIREN?= =?UTF-8?q?=20(France)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/scripts/saisie/lienidentite.phtml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/application/views/default/scripts/saisie/lienidentite.phtml b/application/views/default/scripts/saisie/lienidentite.phtml index c3237d999..ea8c50d81 100644 --- a/application/views/default/scripts/saisie/lienidentite.phtml +++ b/application/views/default/scripts/saisie/lienidentite.phtml @@ -38,6 +38,13 @@ +
+ +
+ +
+
+
@@ -159,6 +166,13 @@ $.datepicker.setDefaults( $.datepicker.regional["fr"] ); $('input[name=dateCapital]').datepicker({ changeMonth: true, changeYear: true }); $('input[name=dateNbActions]').datepicker({ changeMonth: true, changeYear: true }); + +$('input[name=isin]').change(function(e){ + $.post('/saisie/checkisin', {isin: $(this).val() }, function success(data) { + if (data){$('input[name=isin]').css("border-color", "red");} + else {$('input[name=isin]').css("border-color", "");} + }); +});