Results 1 - 5 of 598
22 May 2019 03 Jun 2019 0 Comments  1091 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Session variable using jQuery in ASP.Net using C# and VB.Net.

jQuery is a JavaScript library and JavaScript is a Client Side language and hence directly it is not possible to set Session variable in jQuery.

Thus, the solution is to make an AJAX call using jQuery AJAX and pass the value of JavaScript variable to a Web Method and inside the Web Method, the value will be set in Session variable in ASP.Net using C# and VB.Net .
21 May 2019 21 May 2019 0 Comments  910 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Session variable in JavaScript using jQuery in ASP.Net MVC Razor.

JavaScript is a Client Side language and hence directly it is not possible to set Session variable in JavaScript.

Thus, the solution is to make an AJAX call using jQuery AJAX and pass the value of JavaScript variable to a Controller and inside the Controller the value will be set in Session variable in ASP.Net MVC Razor.
16 May 2019 16 May 2019 0 Comments  995 Views
jQuery  HTML  Div  Image
Here Mudassar Ahmed Khan has explained with an example, how to build a simple Image Slider with Fade effect using jQuery.

In this Image Slider, the Background Image of HTML DIV will be automatically changed at certain period.

The URL of the Images will be stored in a JavaScript Array and then using JavaScript setInterval function, the Background Image of HTML DIV will be dynamically changed (swapped) periodically using jQuery.
15 May 2019 15 May 2019 0 Comments  957 Views
jQuery  HTML  Div  Image
Here Mudassar Ahmed Khan has explained with an example, how to automatically change Background Image of HTML DIV at certain period i.e. every 5 seconds using jQuery.

The URL of the Images will be stored in a JavaScript Array and then using JavaScript setInterval function, the Background Image of HTML DIV will be dynamically changed (swapped) every 5 seconds using jQuery.
15 May 2019 15 May 2019 0 Comments  940 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically populate Year in DropDownList i.e. HTML SELECT element using jQuery.

Inside the jQuery document ready event handler, the DropDownList i.e. HTML SELECT element will be referenced and using a For Loop, one by one Year values will be appended to the DropDownList using jQuery.
Results 1 - 5 of 598