Selecting all the <a> elements where content starts with '+'
html, javascript, jquery
Solution
You can use `filter()` from jQuery:
$("a").filter(function() {
return $.trim(this.innerHTML).indexOf("+") === 0;
}). ...
DEMO: http://jsfiddle.net/4rgNw/
Problem
i want to select all the elements where its content starts with + with jquery, how can i do that? example: ``` <a href="/" >+ Add</a> ```