JS jQuery to receive an element of action



  • $('.t_st_info').ready(function () {
            $( this ).hide();
        });
    

    Why doesn't it work? Element's not hiding.



  • Try to make a click event, or one of the lists downstairs.

    $('.t_st_info').on('click',function () {
        $( this ).hide();
    });
    
    • mousedown - clamping of mice;
    • mouseup is the discompression of mice;
    • click = cell click;
    • dblclick is a double cell for element;
    • mousemove is the movement of the cadet;
    • mouseenter is the introduction of a cadet into an element, does not take into account the subsidiaries;
    • mouseleave - removal of the cadet from the element, does not take into account the subsidiary elements;
    • mouseout - removal of the cadet from the element;
    • mouseover is an elementary cadet;

    Details can be read here: http://api.jquery.com/on/




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2