Results 1 - 5 of 398
04 Oct 2018 04 Oct 2018 0 Comments  518 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Date of Birth (Age) Validation using Regular Expressions (Regex) in JavaScript.

There will be two types of Validations:
1. Date format dd/MM/yyyy validation: The Date of Birth (DOB) will be first validated for dd/MM/yyyy format using Regular Expression (Regex).
2. 18+ Minimum Age validation: The difference between the age entered in the TextBox and the Current Date is minimum 18 years.
04 Oct 2018 04 Oct 2018 0 Comments  355 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Date in dd/MM/yyyy format using Regular Expression (Regex) in JavaScript.

There will be two types of Validations:
1. Date format dd/MM/yyyy validation: The Date of Birth (DOB) will be first validated for dd/MM/yyyy format using Regular Expression (Regex).
2. 18+ Minimum Age validation: The difference between the age entered in the TextBox and the Current Date is minimum 18 years.
21 Sep 2018 21 Sep 2018 0 Comments  420 Views
Here Mudassar Ahmed Khan has explained with an example, how to get the checked Nodes of ASP.Net TreeView with Text and Value using JavaScript.

When the Button is clicked, all the CheckBoxes of the ASP.Net TreeView control are referenced using JavaScript and the Text and Value parts of the checked Nodes are displayed using JavaScript Alert Message Box.
14 Sep 2018 14 Sep 2018 0 Comments  440 Views
Here Mudassar Ahmed Khan has explained with an example, how to move selected Items to Top of ListBox using JavaScript.

When an Item (Option) is selected in the ListBox, it will be removed from the List and again added to the ListBox at 0th Index (First Position) using JavaScript.
14 Sep 2018 14 Sep 2018 0 Comments  514 Views
Here Mudassar Ahmed Khan has explained with an example, how to download Excel file (XLS and XLSX) using JavaScript.

The HTML Table data will be converted and downloaded to Excel file with the help of the jQuery table2excel plugin.
Results 1 - 5 of 398