I created a text area inside of a table(created by ajax request as well) and that table is inside of a div that not created by Ajax request. I am trying to get the value of that text area via Jquery but it does not work. what can be the issue ? Any help would be appriciated.
<tr>
<td valign='middle' align='center'>
<label id='feedbackLabel' for='feedbackText'>Feedback</label>
</td>
<td class='righttd' valign='middle' align='center'>
<textarea id='feedback'></textarea>
</td>
</tr>
$('#resultDiv').on("click", ".button", function(){
var feedBack = $('#feedback').val();
alert(feedBack);
});