hey mates
maybe its a novice question but i tried lots of ways to hack this arround but nothing came out
i want to user some jquery plugin and i wonder how to fetch ckeditor textarea ID attribute
to clear out my question let me give u some e.g. :
echo '<textarea class="ckeditor" name="content" cols="50" rows="3" >'.$value.'</textarea>';
and i need to use this block of jquery code :
var content= $("#content").val();
problem is here that ID content is undefined while i tried different ways like :
var content=$("textarea[name=content]").val();
or even adding id to textarea itself like :
echo '<textarea class="ckeditor" id="content" name="content" cols="50" rows="3" >'.$value.'</textarea>';
nothing helps me
it seems when i use class='ckeditor' and it loads ckeditor then id attribute changes to sth else
i wonder if u can help me to use my jquery code for fetching ckeditor content
as i said it only needs ID attribute
thanks in advance
yours
Re: Jquery and ckeditor ID attribute
guys it would be nice if u reply to this post !
waitin 4 ya
Re: Jquery and ckeditor ID attribute