Thursday, 4 February 2016

     jQuery two methods for show and hide a div, but in some time we need to do the process from a single button there we can use toggle() method.

syntax

      $("selector").toggle();

Example

      $("#idname").toggle();


Example Program:- (Editor)


Editor is Loading...

Advertisement




Tags:
toggle() in allinworld99, show/hide using single button in allinworld99, jQuery in allinworld99

0 comments:

Post a Comment