I have this code on my jquery
participantText += '<div class="wrap_col td7"><input type="image" src="/pc/images/callgray.png" style="vertical-align: middle" class="actionInvite"></div>';
This is the action of class actionInvite
$(".actionInvite").click(function(){
alert("Hello World");
});
but when i click the button it doesn't alert "Hello World".
It's just reload the page.