WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18198, comment 76


Ignore:
Timestamp:
09/09/2011 04:08:41 AM (10 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18198, comment 76

    initial v1  
    99}}}
    1010(the filler <br /> gives it shape in all browsers).
     11
     12The JS for the above example would be:
     13{{{
     14jQuery('.toggle-whatever').click( function(){
     15  jQuery(this).parents('tr').toggleCalss('my-toggle');
     16});
     17}}}
     18
     19You can paste that in the (Firebug) console and run it while testing too.