Q:

how to click a list item without using jQuery? 

I have list item.  Now I want to click the list item.  Using Jquery i am able to do this.   http://jsfiddle.net/aec8v3c8/4/
<li class="corner-all" data-value="1aj"></li>
<li class="corner-all" data-value="2aj"></li>
<li class="corner-all" data-value="3aj"></li>

$('li[data-value="1aj"]').click(function(){
    alert('This item is clciked');
});

How can we do this without using Jquery?? 

A:

Remember there's nothing jQuery can do that can't be done in plain JS (and will run faster):

var lis = document.querySelectorAll('li[data-value="1aj"]');

for(var i = 0; i < lis.length; i++) {
  lis[i].addEventListener('click', function(){
    alert('Item clicked');
  })
}
<li class="corner-all" data-value="1aj"></li>
<li class="corner-all" data-value="2aj"></li>
<li class="corner-all" data-value="3aj"></li>

