jQuery Tutorial


jQuery Example


jQuery References


jQuery die() Event Reference


  jQuery Events References


Uses

die() event Occurs when remove all event handler along with live() event.


Syntax

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

jQuery die() events supported following parameters.

ParameterDescription
event event is Optional parameter. event define add one or more event add to handle event.
function Function 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