Can i click button with jquery?

Discussion in 'Help & Guides' started by cany30, Sep 1, 2018.

  1. cany30

    cany30 New Turker

    Messages:
    6
    Gender:
    Male
    Ratings:
    +0
    Button class= xxx12

    Can i click button automaticly with jquery?

    i tried these;
    Code:
    $("#xxx12").click();
    
    Code:
    $("#xxx12").trigger('click');
    
    Code:
    $(".xxx12").click();
    
    Code:
    $(".xxx12").trigger('click');
    
    Code:
    $(document).ready(function() {
        $("#xxx12").click();
    });
    
     
  2. Kadauchi

    Kadauchi Administrator Former MTG MotM

    Messages:
    4,367
    Ratings:
    +8,589
    Is there supposed to be a space at the beginning of that class?
    Code:
    $('[class=" xxx12"]').click();