Uploading File Size Determination Using Jquery

Uploading File Size Determination Using Jquery

Hi, 

I want to find the uploading file size using Jquery (Client side). If the selected file size exceeds the maximum limit (assume 1MB) i want to prompt end user with a message to select file with lesser size. Just the file size validation.  The actual upload will be handled by form submit button along with other fields.

Please help if anyione has answers or suggesting for my query.