jQuery watermarkinput plugin POSTs watermark values to server

jquery-plugins, watermark

Solution

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

Problem

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?

Original source