Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("input").focus(function() {
- $(this).attr("placeholder", "enter your email address...");
- $(".material-icons").show();
- });
- $('body').click(function(e){
- if ( !$(e.target).is('input') && !$(e.target).is('.material-icons') ) {
- $(".material-icons").hide();
- }
- });
- $('.clear-input').click(function(){
- $('input').val('')
- });
Add Comment
Please, Sign In to add comment