Share this content on Facebook!
05 Sep 2011
JavaScript, a well known name at web application development market. Due to its lot of features it is very popular. Many people always confuse between java and javscript, but I tell you one thing both is totally different. It gives lots of success if it is used smartly.

Following are the useful tips which help you to use javascript in smart way:

• Utilize the defer quality for IE- use only external script.

• Utilize a CData part to avert XHTML strict corroboration errors.

• Shun javascript’s keywords when creating tradition identifiers.

• Keep away from Javascript’s kept words when creating custom identifiers.

• Don’t modify a variable’s type after initial declaration and do not use global variables.

•  Use switch statement...