Category: Events

  • jQuery focus

    The jQuery focus event occurs when an element gains focus. It is generated by a mouse click or by navigating to it. This event is implicitly used to limited sets of elements such as form elements like <input>, <select> etc. and links <a href>. The focused elements are usually highlighted in some way by the…

  • jQuery blur()

    The jQuery blur event occurs when element loses focus. It can be generated by via keyboard commands like tab key or mouse click anywhere on the page. It makes you enable to attach a function to the event that will be executed when the element loses focus. Originally, this event was used only with form…

  • jQuery unbind method

    The unbind() method in jQuery is used to remove the event handlers from the selected elements. We can also use this method to remove all or specific event handlers. It can also be used to stop specified functions. Syntax Parameter values This method accepts three optional parameter values that are defined as follows. event: It is an optional parameter. It…

  • jQuery bind

    The jQuery bind() event is used to attach one or more event handlers for selected elements from a set of elements. It specifies a function to run when the event occurs. It is generally used together with other events of jQuery. Syntax: Parameters of jQuery bind() event Parameter Description Event It is a mandatory parameter.…

  • jQuery click

    When you click on an element, the click event occurs and once the click event occurs it execute the click () method or attaches a function to run. It is generally used together with other events of jQuery. Syntax: It is used to trigger the click event for the selected elements. It is used to…

  • jQuery Events

    jQuery events are the actions that can be detected by your web application. They are used to create dynamic web pages. An event shows the exact moment when something happens. These are some examples of events. These events can be categorized on the basis their types: Mouse Events Keyboard Events Form Events Document/Window Events Note:…