Reputation: 1
I am using jQuery validate (bassitance) to validate a large form. A hand full of text boxes then an ever growing list of checkboxes (4600 at last count). I am using the
ignore: 'input[type="checkbox"]'
method but it isn't enough. I still get the 'Stop running this script' error when submitting using IE8 or below. Firefox, Safari, Opera and IE9 are fine.
Is there something I am missing or a better way to do this?
Upvotes: 0
Views: 263
Reputation: 149
I agree with akiller, it's too much elements for one page. Decrease number of elements in your form. But, if you need huge amount of elements to be checked, you must split this form for several web pages, maybe, using Ajax for navigating pages. As alternative, do not use jQuery, it possibly will speed up your script.
Upvotes: 1
Reputation: 2472
Not having 4600 text boxes would be a good start. Do you really need that many on one page? Could you look into paging your data to reduce the amount loaded into the DOM at once?
Upvotes: 3