Impose max combined file size for file inputs through jQuery validator -
i have interesting scenario @ hand, i'm not versed jquery validate @ moment. goal: using fileapi, determine file size of each file uploaded in multiple <input type="file" /> controls while using jquery validate plugin, ensuring combined total of bytes not greater 50mb. these elements can dynamically added/deleted. for sake of consistency, i'd validation work through jquery validator plugin, error message appended under last input file control. from understand, adding method validator verifies 1 element @ time, guess first question, can single method validate multiple elements once opposed being fired each element. ex.: <input type="file" name="file1" id="file1" /> <input type="file" name="file2" id="file2" /> <input type="file" name="file3" id="file3" /> <script type="text/javascript"> $(function() { // add...