I\'m using this selector $(\"textarea #myTextArea\").val(text); and it\'s not working. If I remove the ID and use the class it\'s working. Why isn\'t jquery able t
$(\"textarea #myTextArea\").val(text);
Because of the space. With the space it says the #myTextArea within a textarea.
#myTextArea
textarea
$("textarea#myTextArea").val(text);