jQuery Tutorial


jQuery Example


jQuery References


jQuery live() Event Reference


  jQuery Events References


Uses

jQuery live() event Occurs when live all event handler.


Syntax

$(selector).live([event],[function])

jQuery live() events supported following parameters.

ParameterDescription
eventevent is Optional parameter. event define add one or more event add to handle event.
functionFunction is Optional parameter. Function define the ready to run when event occur.

Example

<script type="text/javascript"> 
$(document).ready(function(){
  $("p").live("click",function(){
    $(this).slideToggle();
  });
  $("button").click(function(){
    $("p").die();
  });
});
</script>
Online Try This Code Your Self....   »

  jQuery Events References