In this post, I would like to present you with 3 different 1-line scripts that are used a lot. These snippets are used to remove the last character from a string. When may you need this? You may be building
Do you think $(document).ready() and window.onload are the same thing? Do you use one for the other? Do you use them interchangeably? If you do so, you are wrong. $(document).ready() and window.onload are not the same thing. What did you
I am finally back with another post after a while. I had this time period where I got busy with other things in life and felt a little tired for coding and blogging. That seems to be over now. Thank
After a long break, I am back with another productive and informative post. Have you heard about the language TypeScript? What is the relation between JavaScript, ECMAScript and TypeScript? Here is a brief answer to this question. What is TypeScript?
Have you ever heard of the term “lambda”? Does it sound like a complicated thing to you? Don’t be scared! After reading this short post, it won’t be that scary. Lambda Expressions in Various Programming Languages So, how do they
In my last post, I briefly talked about variables, functions and how you can put functions into variables to be later called using the variable name. In this mini post, I will talk about passing Javascript functions to other Javascript
A JavaScript function is a block of code designed to perform a particular task. A JavaScript function is executed when “something” invokes it (calls it). A JavaScript function is defined with the function keyword, followed by a name, followed by parentheses
I am a big fan of javascript and I love scripting. In this post I will be talking about one of the most important concepts in javascript. Inheritance, protoyping and prototype chain. If you are familiar with oop (object-oriented
Assume you have created a beautiful dynamic web app, with some cool webservices to get the results from and dynamically process + place them on the client-side. In this dynamic app of yours you must be careful while sending (POSTing)
Have you ever tried to display multiple spaces in a page element using innerHTML property with javascript? If so then you probably encountered this problem of collapsing multiple spaces. Apparently this is how HTML works. It collapses multiple spaces into