Hi @PrasanthDi What is your use case? can you elaborate more
In case if you just to understand from 3 different element, which element has clicked and get that value - you can write a small JS snippet like below.
Suppose - you have 3 buttons with tag name called button
<button>0</button>
<button>1</button>
<button>2</button>
and then you can iterate through them with using onClick function
var buttons = document.getElementsByTagName('button');
for (var i = 0; i < buttons.length; i++) {
(function (i) {
buttons[i].onclick = function () {
alert("button " + i + " was clicked");
}
}(i));
}
Here is the test fiddle : https://jsfiddle.net/x697pymu/
Check this once.
Thanks