[jQuery] click on gmail new button design (goog-imageless-button) !
I use this code (jQuery) to find and fire the delete button on the
gmail tool bar, but the click (3rd line) didn't work as expected since
gmail change to the new look where buttons are now div., what is wrong
with the new gmail imageless design?
var gmCanvasFrame = $('iframe#canvas_frame');
var btnDelete = $(gmCanvasFrame).contents().find('div.goog-imageless-
button-content:contains("Delete")');
$(btnDelete).click();