I’ve got a form with a text field defined as follow:
<textarea style="height: 60px; width: 100%;" name="F3414" id="F3414" rows="6" cols="80" wrap="virtual" class="frmTxa fckEditor"></textarea>
I need, using jQuery, to get the textarea id (in that case, F3414).
I’ve tried:
$('textarea .fckEditor').attr('id');
$('.fckEditor').attr('id'); / ... with no luck.
Any idea?
Thanks a lot
you have a space between
textarea .fckEditorin your original question, does removing it make a differenceWorking Example : here