What is a constructor in Javascript ?

What is a constructor in Javascript ?


Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
If you have been working on or learning Object Oriented JavaScript, you must have come across the word “constructor” a number of times. A constructor is basically a function that is used to set the properties and methods of an Object. Generally you may use...
What are Polyfills in Javascript ?

What are Polyfills in Javascript ?

With HTML5 getting popular, a large number of developers have moved on to HTML5 based development. It has indeed helped developers to implement extra features as well as save a lot of time during development too. But one of the most common issues of web development,...
How to implement Cufon fonts ?

How to implement Cufon fonts ?


Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
The web is getting creative and beautiful. You can find  a variety of new font’s being used across the web making the site look beautiful and creative. There are various font replacement techniques available online now. One of them is SIFR but it needs flash to...
Ternary operator in Javascript

Ternary operator in Javascript


Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Some of the most useful “utilities” in any programming languages are the conditional statements. Conditional statements help a lot in making the piece of code dynamic and intelligent. In fact it would not be an exaggeration to say that without conditional...
Javascript Naming Conventions

Javascript Naming Conventions


Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
A very common query that a lot of developers starting off with Javascript have is about the naming conventions to be used. I’m happy that many of us take that extra step to ensure that we follow standards while we code. But hey, the fact is actually there is no...
How to Minify a Javascript File?

How to Minify a Javascript File?


Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/content/p3pnexwpnas02_data01/82/41786482/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
The web technology today has improved dramatically and the way scripting is done on websites have changed drastically over the years now. Gone are the days when JavaScript was used to just validate forms. JavaScript now holds the major share of the website code. But...