<input type="button" value="My task">
$('input[type="button"][value="My task"]')
例如:http://jsfiddle.net/niklasvh/yAUkC/