I am trying to click on a div while contains a specific text.
This is where I am:
$( document ).ready(function() {
$('.myclass li.active .short-text'["value=thetext"]).click();
});
The code above is not doing it ... How can I get this to work?