I'm using the jQuery watermarkinput plugin to place hint text inside text box input fields. When the page POSTs back to the server, the watermark values are POSTed as the input box values.
How do I prevent the watermark values from being POSTed?
Short of validating against the watermark text on submission, you're stuck. The watermark plugin (digitalbush.com) can't help you with that.
Edit
Apparently, it can (globally). As described in the comment:
$.Watermark.HideAll(); // hide's all watermark text
$.Watermark.ShowAll(); // restores watermark text
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With