How to replace all occurrences of a string in JavaScript?

Javascript on

Out of the different “Data Types” in JavaScript, String has been one of my favorites. It is also one of the most widely used Data Type. It would not be an understatement to say that most of our programming activities revolve around some kind of string. Many times you would come across scenarios in JavaScript … Read more

What is a constructor in Javascript ?

Javascript on

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 “this” keyword within the Constructor function a lot and the … Read more

What are Polyfills in Javascript?

Javascript on

With HTML5 and JavaScript getting popular, a large number of developers have moved on to HTML5 and JavaScript 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, i.e Cross-Browser compatibility, still exists. … Read more

How to implement Cufon fonts ?

HTML5 MoreOnFew

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 be working and also the set up isn’t that … Read more

Ternary operator in Javascript

Javascript on

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 statements none of the software and web applications would be existing today. Javascript too … Read more

Javascript Naming Conventions

Javascript on

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 such standards of naming convention … Read more

How to Minify a Javascript File?

Javascript on

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 this also resulted in JavaScript files being heavier which in … Read more