Today, i will share a tutorial with you how to check file size and extension before uploading the file. It is one of the most common validation that need to be check before uploading file, i wrote this simple tutorial to validate the image file size (Maximum 1 MB Allowed) and extension (JPG, JPEG, PNG or GIF are allowed) for our image file by using jQuery.
In this tutorial I will explain how to add & subtract two input fields values using jQuery. This is very simple tutorial, you just need to write HTML and jQuery to achieve it.
Note: Don’t forget to include the jQuery library in the header or footer of web page.