jQuery Tutorial


jQuery Example


jQuery References


jQuery focusout() Event Reference


  jQuery Events References


Uses

jQuery focusout() event Occurs when the element focus out.


Syntax

$(selector).focusout(function()) 

jQuery focusout() events supported following parameters.

ParameterDescription
functionFunction is Optional parameter. Function define the ready to run when event occur.

Example

<script type="text/javascript"> 
$(document).ready(function(){
  $("div").focusin(function(){
    $(this).css("background-color","pink");
  });
  $("div").focusout(function(){
    $(this).css("background-color","#CCCCCC");
  });
});
</script>
Online Try This Code Your Self....   »

  jQuery Events References