View Single Post
Old 05-16-2011, 03:16 AM   PM User | #8
newbie14
New Coder

 
Join Date: May 2011
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
newbie14 is an unknown quantity at this point
Dear Ovtech,
I have some codes as you see in my function. I have also tried like this below but that is not function either. So I am stuck here.

Code:
$('td:not(:first) select',form).each(function () {
                    $(this).rules('add', {required: true});
                });*/
Code:
function setupFormValidation(form) {
               // $(form).validate().resetForm();
                /*if ($('tbody tr', form).length < 2) {
                	  alert("Must Have End Destination Route");
                }*/
                
               /*$('td:not(:first) select',form).each(function () {
                    $(this).rules('add', {required: true});
                });*/
                /*
                $('td:not(:first) select',form).each(function () {
                    $(this).rules('add', {required: true});
                });*/
               
            }
newbie14 is offline   Reply With Quote