improvejavascript.blogspot.com
java script learning: Date object
http://improvejavascript.blogspot.com/2014/02/date-object.html
Sunday, 2 February 2014. Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time. Here are different variant of Date() constructor:. New Date(year,month,date[,hour,minute,second,millisecond ]). Paramters in the brackets are always optional. Here is the description of the parameters:. Integer value repr...
improvejavascript.blogspot.com
java script learning: January 2014
http://improvejavascript.blogspot.com/2014_01_01_archive.html
Saturday, 25 January 2014. A string simply stores a series of characters like "John Doe". A string can be any text inside quotes. You can use single or double quotes:. Var val = new String(string);. Returns a reference to the String function that created the object. Returns the length of the string. The prototype property allows you to add properties and methods to an object. Returns the character at the specified index. Returns a number indicating the Unicode value of the character at the given index.
improvejavascript.blogspot.com
java script learning: Java Script Syllabus
http://improvejavascript.blogspot.com/2014/02/java-script-syllabus.html
Sunday, 2 February 2014. Http:/ improvejavascript.blogspot.in. Chapter 1 Introduction To Web Development. Uses of Java script. Line break up code. Java script data types. Example program for arithmetic operators. Java script conditional operator example program. Delete operator, new operator, void operator). Jump statements(break, continue). For –in loop. Java script program for factorial of a given number using for loop. Example program for do-while loop. Procedure to write java script. Chapter 10 How T...
improvejavascript.blogspot.com
java script learning: Regular Expression Object
http://improvejavascript.blogspot.com/2014/02/regular-expression-object.html
Sunday, 2 February 2014. A regular expression is an object that describes a pattern of characters. When you search in a text, you can use a pattern to describe what you are searching for. A simple pattern can be one single character. A more complicated pattern can consist of more characters, and can be used for parsing, format checking, substitution and more. These are used to check and validate string type data. Called as objects because it. Provides methods. It is two types, Static or Dynamic. Var s = ...
improvejavascript.blogspot.com
java script learning: February 2014
http://improvejavascript.blogspot.com/2014_02_01_archive.html
Sunday, 2 February 2014. Http:/ improvejavascript.blogspot.in. Chapter 1 Introduction To Web Development. Uses of Java script. Line break up code. Java script data types. Example program for arithmetic operators. Java script conditional operator example program. Delete operator, new operator, void operator). Jump statements(break, continue). For –in loop. Java script program for factorial of a given number using for loop. Example program for do-while loop. Procedure to write java script. Chapter 10 How T...
improvejavascript.blogspot.com
java script learning: August 2013
http://improvejavascript.blogspot.com/2013_08_01_archive.html
Tuesday, 13 August 2013. Interview question on Javascript. 1 Difference between window.onload and onDocumentReady? The onload event does not fire until every last piece of the page is loaded, this includes css and images, which means there’s a huge delay before any code is executed. That isnt what we want. We just want to wait until the DOM is loaded and is able to be manipulated. onDocumentReady allows the programmer to do that. 2 What is the difference between = and = =? What about 5 4 “3″? A closure i...
improvejavascript.blogspot.com
java script learning: Math object
http://improvejavascript.blogspot.com/2014/02/math-object.html
Sunday, 2 February 2014. Object provides you properties and methods for mathematical constants and functions. Unlike the other global objects,. Is not a constructor. All properties and methods of Math are static and can be called by using. As an object without creating it. Thus, you refer to the constant pi as. And you call the. Where x is the method's argument. Here is the simple syntax to call properties and methods of Math. Var pi val = Math.PI;. Var sine val = Math.sin(30);. Returns the largest integ...
improvejavascript.blogspot.com
java script learning: Arrays object
http://improvejavascript.blogspot.com/2014/02/arrays-object.html
Sunday, 2 February 2014. It is a collection of elements of homogenious or different data types. A) var n=[1,2,3,4,5];. Var months[“Jan”, “Feb”, 3, 4, “May”];. B) var n=new array(1,2,3,4,5);. C) var n=new array[5];. 2 Adding Elements : New element can be inserted at given position. Var n=[1,2,3,4,5];. Last index is known by. Attribute. So elements are accessed from beginning to. Ending by using a loop. For(var i=0;i ar.length;i ). Here is a list of each property and their description. Returns the last (gr...