I want to blink the placeholder text on focus out .
This is my html code:
<input type="text" id="keyfob" class="customform col-sm-12 text-red" data-required='true' placeholder=" Please click here to Key Fob scanning work">
this is my jquery code:
$('#keyfob').on("focus blur", function(){
$(this).attr("placeholder") == "" ? $(this).attr("placeholder", "Please click here for Key Fob scanning to work") : $(this).attr("placeholder", "");
});
now i want to blink the placeholder text "Please click here to Key Fob scanning work".
So please can anyone help me ???