/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function(){ $('.normal').focus(function() { //alert("calling") $(this).removeClass("itl"); }); $('.normal').blur(function() { $(this).addClass("itl"); }); });