How can I change the text of an option with jQuery?
I\'d like to change Newest with Oldest in an option is a element.
$(\
You should start a new question but here's the answer:
$('select option:contains("Newest")').text('TEMPEST'); $('select option:contains("Oldest")').text('Newest'); $('select option:contains("TEMPEST")').text('Oldest');