Input type File validation – Client side

Thinking of allowing only specific file types to be browsed through File Input HTML field?? Here’ a simple regex based javascript that can help you out with the solution. It’s based on the file extension of file being browsed and clears the input field if validation fails. The allowed list of file extensions is exhaustive …

Google Analytics: Track PDF links on webpage

Tracking on various links on your webpage is very important from Marketing perspective. It provides up critical information on how success you online campaign is and whether it attracts the intended audience. There are many tools/services available today that enables you to track pages, for instance, Google Analytics. We can leverage such services to a …