Defining an array in JavaScript


There are 3 ways of defining an array in JavaScript Conventional arrayThe classic conventional array looks like the following: var mystudents=new Array() mystudents[0]=”Bob” mystudents[1]=”Jane” mystudents[2]=”Peter”

How To Develop a jQuery Plugin


jQuery is the most popular JavaScript library and many sites adopt it for dynamic effects and Ajax functionality. However, relatively few developers delve into the depths of plugin development. Why Create a jQuery Plugin? In a word: re-use. By extending jQuery, you create reusable components that can be used on any web page. Your code…