Please enable Javascript to correctly display the contents on Dot Net Tricks!

Java Script Tutorial - For Beginners & Professionals

javascript recipes,javascript tips, javascript tricks,javascript tips & tricks, javascript internal
Author : Shailendra Chauhan
updated on 30 Aug 2014

JavaScript is a dynamic language. You can create objects on the fly, and objects can contain other objects, also it does not support the concept of namespace like C#.



Author : Shailendra Chauhan
updated on 02 Apr 2014

JavaScript is a prototype-based programming language which has no class like as C++, C#, Java etc. JavaScript uses functions as classes. Hence, in JavaScript we can define a class name Student as given below-



Author : Shailendra Chauhan
updated on 24 Sep 2013

Like other programming languages, JavaScript also has local and global variables. But the declaration and scope of a variable in JavaScript is different from others programming languages. In this article, I am going to explain the difference between local and global variables in JavaScript.



Author : Shailendra Chauhan
updated on 25 Jul 2013

We can validate email address at client side and server side. To validate email address on client side, we can use java script with regular expression. Java script can check the regular expression pattern for valid email address. We have different regular expression patterns for validating email address.



Author : Shailendra Chauhan
updated on 13 Jun 2012

Sometimes we need to parse xml into string and string into xml. Different browsers parse xml to string and vice-versa in different ways. Here, I am sharing cross browser compatible methods to parse xml.



Author : Shailendra Chauhan
updated on 29 Jan 2013

Due to some reasons (like don’t allow to enter chars in Price TextBox), we restrict users to enter chars in TextBox. We can implement this functionality by using below method.