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
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.
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 usethisthere.Also simplified your code a bit: