STYLE SWITCHER

Registering jQuery click, first and second click

$('.myClass').click(function() {
  var clicks = $(this).data('clicks');
  if (clicks) {
     // odd clicks
  } else {
     // even clicks
  }
  $(this).data("clicks", !clicks);
});

Recent Article

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Some tips i have seen in terms of laptop or computer memory is there are specifications such as SDRAM, DDR or anything else, that must match up the features of the mother board. If the computer’s motherboard is very current and there are no operating system issues, modernizing the storage space literally normally takes under one hour. It’s one of many easiest laptop or computer upgrade types of procedures one can visualize. Thanks for giving your ideas.