You can avoid that issue by using a solution that doesn't modify the
inputs value. The (planned) jQuery UI watermark widget does that, you
can get the code from labs here:
http://jquery-ui.googlecode.com/svn/branches/labs/watermark/ui/ui.watermark.js

A sort-of demo is here: http://www.commadot.com/jquery/experiments/shunra/
More details on the widget here: http://wiki.jqueryui.com/Watermark

Jörn

On Sat, Sep 19, 2009 at 6:44 AM, jbotos <m...@jbotos.com> wrote:
>
> Hi, I have values in each input which tells the user what to enter in
> that field. Each value clears on click and resets to default if no
> value is entered. How can I have it treat my values as if it would be
> empty (no value entered)?
>

Reply via email to