Latest posts on "JQuery"

after ajax load AddThis is not working

19 August 2016

Addthis is not working when I load dynamic content on button click. It was resolved by adding the script on page Load.

How to get the value from Html data-id using JQuery?

3 August 2016

If you want to get the data id value from the html element like anchor tag, button or li when the user clicks, you can get using $(this).attr(“data-id”) and in newer versions >=1.4.3 we can use $(this).data().

Change image src using jQuery

10 July 2016

In this example, I will show you how to change the image src attribute using jquery. The attr (name, value) method is used to set the named attribute, src and value.

jqgrid asp net mvc

30 June 2016

In this example, I will show to how to display data in a grid using jQuery jQGrid in MVC uses the entity framework. It is a very lightweight client side grid having multiple functions.

If cdn down google hosted jQuery fails?

19 June 2016

In some countries, google, hosted query might be banned we must want to prevent errors. The following code will check jQuery is loaded or not. It is not loaded than jQuery script will be loaded from our web server.