JavaScript minification the process of removing all unnecessary characters such as comments, whitespaces and new line characters from source code without changing its functionality. It may also reduce the file size by 30% to 90%.
In this article we will discuss, how to check client side validation for email address using JavaScript in asp.net MVC. It is common to check the format of the email is valid or not. To validate email address we need to use regular expression. In MVC razor we should use @@ symbol to perform validation.
In this article we will discuss replace number with string in javascript by using regular expression .It is achieved by two methods
The regular expression is an object that describes pattern of characters that is used to match the character combination of strings.
In this article we will discuss about popup window and closing it. To open a window by using window.open(). The window.open() has as 4 optional parameters.
In this article we will discuss recursive functions in JavaScript. The recursive is a function that calls itself by looping there must be a break otherwise it will create infinite loops.
In this article we will discuss how to handle exception in JavaScript. The exception may occur at run time due to errors such as referencing a variable or a method that is not defined.
In this article we will discuss implementing how to filter odd number using from array in JavaScript. Below example we are using a callback function Isodd it will result the odd numbers.
In this article we will discuss how to remove duplicates from JavaScript array. This can be implemented by using filter() method.
A function allows us to write code once and we can use it as many times as our wish just by calling the function. A function eliminates the need of writing the same code again and again.