I am adding tag at run time using jquery.
<a id=add class=add href=#>Test</a>
I want to fire the click event of this tag but it doesn't get fired.
I have already tried
$('#add').bind('click', function(e) {
e.preventDefault();
alert('hello');
});
but nothing happens.