Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- $('#emailfield').click(function() {
- if ($(this).val() == 'Your Email') {
- $(this).data('original', $(this).val()).val('');
- }
- });
- $('#emailfield').blur(function() {
- if ($(this).val() == '') {
- $(this).val($(this).data('original'));
- }
- });
- });
Add Comment
Please, Sign In to add comment