I'm currently creating the element this way:
$ss = '<input id="link" class="link[]" title="SS" type="image" src="../cancel.png"/>';
My JS, looks like this:
$("#link").click(function(){
alert("SIM");
});
I'm currently running an alert to test. But it is only working in the first input, and in the second, it does not work. Could someone guide me how should I proceed?