Kindly help me. i have created a run time spell check system. The problem i am facing is, when the system returns the correct spelling, it shows the word hyper linked. If the user clicks that hyper link, it should overwrite the word with the suggested work. Unfortunately the jQuery created hyper link is not triggering i have created this dummy project, because actual code is very lengthy. JSfiddle link is this: http://jsfiddle.net/pk2mk863/1/
<html>
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<body>
<a href="#" id="testing">Testing</a>
<div id="testing1"></div>
<script>
$(document).ready(function() {
$('#testing').click(function () {
$('#testing1').html('<a href="#" id="testing22">click me again</a>');
});
$('#testing22').click(function() {
alert("i rock");
});
});
</script>
</body>
</html>