So I have a field on the page that may or may not be required, depending on
what the user wants to do. Once I need the field to be required, I aplly
validate() on the form and its done. But, once I want to make the field
not-required again, I run into problems.
Here's some example code with mark
I'm kinda of a begginer on JQuery and I'm writing my first plugin.
The plugin should handle form validation, in which I want to be able to
enable or disable validation.
The simplified version is like this:
(function($) {
$.fn.checkForm = function(action) {
function validateForm() {
2 matches
Mail list logo