Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7847943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:03:04+00:00 2026-06-02T18:03:04+00:00

I had a watermarked form on my website, working perfectly using a watermarking script

  • 0

I had a watermarked form on my website, working perfectly using a watermarking script ( I still have an old version where it works fine.) Today I noticed it suddenly stopped working and I cannot figure out why. I cross-checked the styles and script with that of the earlier (still working) version, and it’s all identical. Any ideas?

Here’s a comparison for reference:

https://i.stack.imgur.com/deoJt.png

https://i.stack.imgur.com/deoJt.png#1

Here’s my site

http://www.artyst-tyrant.com

Designer by trade who’s trying his hand at learning to code, but I’m by no means a pro, so please, go easy.

Thank you in advance for your help, it’s really appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:03:06+00:00Added an answer on June 2, 2026 at 6:03 pm

    The only invalid thing I found is that in the event handlers, you don’t specify the ID selector: $("name")[0].focus(); – missing #. You don’t even need to, because you can use this there.

        $("#name").click(
            function () {
                this.focus();
            }
        );
    

    Also simplified your code a bit:

    <script type="text/javascript">
        $(document).ready(function() {
            var $elements = $('#name, #mail, #message');
            var texts = {
                'mail': 'Email',
                'name': 'Name',
                'message': 'Message'
            };
    
            $elements.each(function () {
                $(this).watermark(texts[this.id]);
            }).click(function () {
                this.focus();
            });
        }); 
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Had a page that was working fine. Only change I made was to add
Had a problem with the recursive conflictCheck() method. That seems fine now. I have
Had this working well in Emacs 23.1.x but it appears to have broke in
Had this working; at one stage. The problem is the following text is now
Had something weird start happening to me today. I have an asp.net mvc app
Had a nice PHP/HTML/JS prototype working on my personal Linode, then tried to throw
Had a Windows Forms app using a WebBrowser control (.NET 4) to load a
Had to change this up. I have two arrays and I want to essentially
Had a virus on an old Windows XP Pro (SP3) workstation we were given
Had a basic question as to the server side behavior while using cookies /

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.