Response title
This is preview!




<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-type="horizontal">
<legend>Layout view:</legend>
<input type="radio" name="radio-view" id="radio-view-a" value="list" />
<label for="radio-view-a">List</label>
<input type="radio" name="radio-view" id="radio-view-b" value="grid" />
<label for="radio-view-b">Grid</label>
<input type="radio" name="radio-view" id="radio-view-c" value="gallery" />
<label for="radio-view-c">Gallery</label>
</fieldset>
</div>
This gave me an error (validator is not defined), and reading the
explanation above this code there is:
Callback for custom code when an invalid form is submitted. Called
with a event object as the first argument, and the validator as the
second.
Then I changed the code in :
and now it works.
I have an account on the jquery site, but before editing some code I
don't know, I ask here if my suggestion is right...
Bye
© 2012 jQuery Foundation
Sponsored by
and others.
