Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- $('input,textarea').focus(function(){
- $(this).data('placeholder',$(this).attr('placeholder'))
- $(this).attr('placeholder','');
- });
- $('input,textarea').blur(function(){
- $(this).attr('placeholder',$(this).data('placeholder'));
- });
- });
Add Comment
Please, Sign In to add comment