Tag Archives for js

JavaScript tutorial -4 Function

JavaScript has function. Remember in JavaScript everything is objects, so there is nothing wrong to say functions are object again. Like Object literals there is something called Function literals, which helps in creating function or function object in a easier way. Function Literals Let see how to create how use function using function literals var […]

JavaScript tutorial -3 CRUD operations with Object literals

In previous tutorial we have seen how to create object using Object literals, continuing with that let’s see how to manipulate (pay around) the object using object literals in java script . Getting value from object is easier. print(myObj2.name); // Will work print(myObj2[‘name’]); // will work print(myObj2.parent.father_name) // will work print(myObj2.parent[‘father_name’]) // will work print(myObj2.[‘parent.father_name’]) […]

JavaScript tutorial -2 Object creation

From now onwards we need to make our mind that we are learning JavaScript; comparing and learning a programming language may be a good idea for others language but this does not suite for JavaScript. This is because the way JavaScript is implemented is entirely different and it most time creates a confusion for learner […]

JavaScript tutorial -1 Introduction

Java script tutorial As a part of progressive learning my plan is to post few tutorials in simple and uncluttered manner that would help me and you to learn the world’s most misunderstood language, JavaScript in much easier way.  I have decided to post the tutorial in several chunks with good example and code snippet […]