Give the span-element a class of "error" and a for-attribute that matches the name of the input:
<span class="error" for="myTextField">...</span> That should be enough for the plugin to pick it up. Jörn On Thu, Jul 30, 2009 at 10:24 AM, jQuery<b...@fatcha.be> wrote: > > Hello, > I didn't found the same problem ine the groupes: > > I would like to show error msg already in the page > > Exemple: > <input type="text" name="myTextField"> > <span>This textfield cannont be empty</span> > > if error the span will become showed. > > and not show error with the js > > Thanks you > > Bri > > >