How to access a group of elements in jQuery within a single function?
For example to the link:
a[href^="page-1.html#"] This syntax does not work for me:
$('a[href^="page-1.html#"]', 'a[href^="page-2.html#"]').click(function(e) { e.preventDefault(); });