Here is a piece of javascript code with jquery:
Code:
$('li.pages span a').click(function() { whatever(); });
I need to write same code, but without using jquery. It must be as small as possible and be compatible with modern mobile browsers. What's the most efficient way to replace $('li.pages span a')?