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 for multiple condition.

• Utilize try-catch to prevent errors from displaying to the user.

Those are the tips which I would like recommend you for better coding and web design.
 
Copyright © 2011


Comments

Eindhoven Webdesign | 1 year 6 months ago
Thanks for sharing!


New Comment

Full Name:
E-Mail Address:
Your website (if exists):
Your Comment:
Security code: