Switch class() method is used to replace one class with another class instead of addClass() and removeClass(). We can also set duration, easing and call back arguments. I will show you how to with example.
We are creating an unordered list using jQuery by iterating in an array and store it in a local variable by appending. Finally we have pushed in to the DOM using html property. This is the best way to fill the unordered list with element id without reflow.
To attract the user with different smoothly animation effects using several css properties such as color, background color, border-color, and outline color for search box. It was achieved by jQuery’s animate() method let’s look at the example.
In this article we will learn how to get href value property for anchor tag in jquery using attr() property. Below example when the user clicks the about link button alert will show the href property value.
In this article we will discuss to pass multiple parameters from Ajax post call in asp.net MVC application. Before I have faced issues with jQuery ajax post call to a controller with multiple parameter due to syntax errors. Now I have found a way by passing JSON stringifyed Object to a [HttpPost] method.
I was in a situation want to load the page after the page contents are loaded I would like to call a function. This was achieved by using $(window).bind().Below example code I will show you how to implement.we should call it inside the $(document).ready() function.
When I have bind html text in text editor on pageload but that time design is not working fine because of nbsp; after I removed. I need to load the page without clicking the button. Finally I found solution to trigger the button event in jquery using trigger method(). Below example just I will show you how to trigger the button event.