Widget AutoComplete for JQuery

The Autocomplete widgets give suggestion about  into the field.For suppose give asp as an input, it will provides an output as asp dotnet or asp mvc. Syntax Here is the simple syntax to use Autocomplete − $( “#tag” ).autocomplete({ source: availableTags });

Array in Javascript

One way of creating array in javascript as follow. var employee= new Array( “rehan”, “asif”, “javad” ); Second way of creating array in javascript as follow. var employee= [ “rehan”, “asif”, “javad” ];