<?php header('Content-Type: text/html; charset=ISO-8859-1'); ?> <script type="text/javascript" src="./js/thickbox.js"></script> <label>Date de jouissance / effet :</label> <input type="text" maxlength="10" class="date" name="jugement[dateFinPeriode]" value="" /> <span class="left">(Format JJ/MM/AAAA)</span> <label>Date cessation de paiement </label> <input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" /> <span class="left">(Format JJ/MM/AAAA)</span> <label>Audience de renvoi le </label> <input type="text" class="date" name="jugement[dateAudienceRenvoi]" size="10" maxlength="10" value="" /> <span class="left">(Format JJ/MM/AAAA)</span> <label>Nom de l'acheteur</label> <input type="text" name="jugement[AcheteurNom]" size="70" maxlength="100" value="" /> <label>SIREN de l'acheteur</label> <input type="text" name="jugement[AcheteurSiren]" size="70" maxlength="11" value="" /> <script type="text/javascript"> $(document).ready(function(){ $(".date").blur(function() { //Test du format date $(this).val(dateInputFormat($(this).val())); }); }); </script>