This thing has kicked my butt all week long.
Yesterday, I actually got it to work.(almost).   Since I am new to
this plugin, I am using FRANKENSTEIN code built from examples and
samples. here is my code:

                success: function(label) {
                        var valid_img = '<img src="/global_libs/images/
icons/checked.gif">';
                        // set &nbsp; as text for IE
                        label.html(valid_img);
                }

My expectation is that I would have a checkmark.gif display next to
valid elements. Well...It works. But it works a little too good. Each
time I click in and out of the valid field a new label element gets
appended and I end up with multiple checkmarks after my field. is this
the wrong way to do what I want?  The success option came from an
example and I have yet to find a reference to it in the
documentation.

Which brings me to another question...
Is there any other place that this documentation is located that is a
little more user friendly? The jQuery site is a nice repository for
code and plugins, but  it really isn't setup for documentation.
Especially not for a FULL FEATURE plugin like VALIDATION. And when I
say it is not friendly, I mean you cant perform a search on the
documentation.

Thanks,
Mike

Reply via email to