I am using "Jquery ui tab panel". I am using another "jquery plugin" to fix the <table> column and header within this panel. However I am facing with a problem although I have used 3 diiferent <table fixed> plugin.
The problem is:
I have 4 tabs on "Jquery ui tabs" It works if <table fixed plugin> is default selected when page loaded.
But if another tab other than <table fixed plugin> is seleceted when page loaded, <table fixed plugin> does ot keep the width height values of the table and all column and header rows are merged.
I am using PlugIn in "http://bassistance.de/jquery-plugins/jquery-plugin-validation/".
I have different "Rules" assigned to different "Buttons" in a single form. I wrote below codes to assign rules to each button. When I click a button I need to make "removeClass" and rules("remove") to remove and clear all assignments made until that time. Then I need to make new assgnments.
1) Can you please advice the code to make this easier and faster? 2) Can you please advice if my way is correct in below code to to use different VALIDATEs in one form?
$("#field1").rules("add", {required: true,minlength: 2,messages: {required: "Required", minlength: jQuery.format("Please, at least {0} characters are necessary")}});
$("#field2").rules("add", {required: true,minlength: 2,messages: {required: "required", minlength: jQuery.format("Please, at least {0} characters are necessary")}});
$("#field3").rules("add", {required: true,minlength: 2,messages: {required: "required", minlength: jQuery.format("Please, at least {0} characters are necessary")}});