Javascript Tutorials

Javascript trim alternative for IE

You might have noticed that usage of trim in javascript often throws an error in IE, causing the javascript to break. There are two simple alternatives to this, to make it work perfectly all the browsers including IE. The primary concern for javascript trim is to delete all the trailing...

Null Undefined check in Javascript

This is on of the most disastrous flaws in complex web applications, where there are hundreds of people working on different modules and writing their own respective javascript methods. For them to properly handle the null/undefined scenarios, it’s always better to create a separate method something like isNullOrUndefined in one...

Triple-equals operator in Javascript

Note that ‘===’ checks for both the type and value, and is a stricter way to check, whereas ‘==’ does the type conversion of the operands and checks only for the values. I have a grand example to demonstrate this: [crayon-5a635725b55cf638093330/] I hope the example would be more than enough...

Introduction to jsRender

To start with, firstly we must know, what is jsRender? jsRender is a very powerful feature that is used to render dynamic contents on the web browser. In simple words, it’s a way to apply templates to the JSON data formed at the client side or coming from the server...
Receive our updates to your inbox

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.