$(function() {
    clearForm();
  });

function clearForm(){
  var originalValue = "Product name, description, or product code";
  $('input.search').val(originalValue);
  $('input.search').focus(function(){
    if ($(this).val() == originalValue){
      $(this).val("");
      $(this).addClass("active");
    }
  }).blur(function(){
    if ($(this).val() == originalValue || $(this).val() == ""){
      $(this).val(originalValue);
      $(this).removeClass("active");
    }
  });
};