I am using jquery...
The above code does not work. I noticed though that the entire instance of ckeditor is outside of the ending </textarea> tag...
I have already asked the people at experts-exchange.com to no avail...
Help would be greatly appreciated.
Thank you!
$('#save').click(function(){
alert($('#mytextarea').val())
});
The above code does not work. I noticed though that the entire instance of ckeditor is outside of the ending </textarea> tag...
I have already asked the people at experts-exchange.com to no avail...
Help would be greatly appreciated.
Thank you!

Re: Need to know the fastest and siimplest way to get value
/** * Custom function for retrieving the data of the current editor instance * * @param string instance id * @return string */ public function getData($id) { $js = ""; if (!$this->initialized) { $js .= $this->init(); } $js .= $this->returnGlobalEvents(); $script = "document.write('<div id=\"temp_zone\" style=\"display: none;\"></div>');" . "$(document).ready(function(){" . '$("input[type=\'submit\']").each(function(i, v){' . "$('#' + v.id).click(function(){" . "var data = CKEDITOR.instances.$id.getData();" . "$('#temp_zone').html(data);" . "});" . "});" . "});"; $js .= $this->script($script); return $js; }Then, where I intialize the ckeditor instance,
This feels extraordinarily hackish...but it works well.