Category - JavaScript
Results 16 - 20 of 529
24 Dec 2020 24 Dec 2020 0 Comments  4103 Views
Here Mudassar Ahmed Khan has explained with an example, how to check if TextBox is Empty using JavaScript.

When the Validate Button is clicked, a JavaScript function is called and the TextBox is referenced and its value is compared with Empty string and if the condition tests TRUE then the TextBox is considered Empty.
19 Dec 2020 19 Dec 2020 0 Comments  8993 Views
Here Mudassar Ahmed Khan has explained with an example, how to download Excel File on Button click using JavaScript.

The Excel file will be downloaded as BLOB using XmlHttpRequest AJAX call and then will be sent for download in the Browser using JavaScript.
17 Dec 2020 17 Dec 2020 0 Comments  16618 Views
Here Mudassar Ahmed Khan has explained with an example, how to download PDF File on Button click using JavaScript.

The PDF file will be downloaded as BLOB using XmlHttpRequest AJAX call and then will be sent for download in the Browser using JavaScript.
15 Dec 2020 15 Dec 2020 0 Comments  13160 Views
Here Mudassar Ahmed Khan has explained with an example, how to automatically download PDF File using JavaScript.

The PDF file will be downloaded as BLOB using XmlHttpRequest AJAX call and then will be sent for download in the Browser using JavaScript.
22 Oct 2020 22 Oct 2020 1 Comments  14871 Views
Here Mudassar Ahmed Khan has explained with an example, how to trigger TextBox OnBlur event on Server Side (Code-Behind) in ASP.Net with C# and VB.Net.

By default, there is no Server Side OnBlur event and the only similar event is provided by ASP.Net is TextChanged event but TextChanged event fires only when Text is changed while OnBlur event fires when Focus is lost despite whether Text is changed or not.
Results 16 - 20 of 529