jasmine-headless-webkit/spec/jasmine/click_button/click_button.js
2011-07-22 12:48:51 -04:00

6 lines
129 B
JavaScript

function yes() {
$('body').append('<form action="something" method="post"><button /><form>')
$('button').trigger('click')
}