IT. Expert System.

JQUERY

live()


Description

The live() method attaches one or more event handlers for selected elements, and specifies a function to run when the events occur.

Event handlers attached using the live() method will work for both current and FUTURE elements matching the selector (like a new element created by a script).


v1.3

This method has the form:

.live(event,function)
Parameter Description
event (required) Specifies one or more events to attach to the elements.

Multiple event values are separated by space. Must be a valid event.
function (required) Specifies the function to run when the event(s) occur

Return Value

This form returns a jQuery object.


v1.4

This method has the alternate form:

.live(event,data,function)
Parameter Description
event (required) Specifies one or more events to attach to the elements.

Multiple event values are separated by space. Must be a valid event.
data (optional) Specifies additional data to pass along to the function
function (required) Specifies the function to run when the event(s) occur

Return Value

This form returns a jQuery object.

Examples

Hide or show a p element when a button is clicked:

$("button").live("click",
  function(){
  $("p").slideToggle();
});


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2468 / . Delta: 0.03384 с