" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

TypeError: f[s] is not a function

Posted on November 23rd, 2015 by MANISH AGARWAL

Are you submiting a web form using jQuery or JavaScript and getting an error message which says: TypeError: f[s] is not a function The reason behind this could be that you have a form with the submit button named “submit” which conflicts with a jQuery event name submit. Changing button name to something other than […]

To validate form fields by using a single function throughout the application

Posted on November 23rd, 2015 by Mitali Goel

Mostly each and every project has a smaller or a bigger form to be filled by the user and we need to validate the form fields on the client side. Here is a summed up function, where we can add the following classes for specific validations and pass the form to this function for validation […]