jQuery(function($){
 //fontion de verification par object detection que le navigateur comprend ou non l'attribut placeholder
 var isPlaceholderSupported = function () {
 var o = document.createElement('input');
 return 'placeholder' in o;
 };
 //si il ne le comprends pas alors on sevit
 if (!isPlaceholderSupported()) {
     var togglePlaceholderText = function (el) {
         var color = '#999', v = $.trim(el.val()), p = el.attr('placeholder');
         if (v == '') {
             el.val(p);
             el.css({'color':color});
        } else if (v == p) {
            el.val('');
            el.css({'color':''});
         }
     };
     $('input[placeholder]')
      .each(function(){togglePlaceholderText($(this));})
      .click(function(){togglePlaceholderText($(this));})
      .blur(function(){togglePlaceholderText($(this));})
      .closest('form').submit(function(){$(this).find('input[placeholder]').each(function(){togglePlaceholderText($(this));})});
    }
});
