josephtklein / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
GNU General Public License v2.0
0 stars 0 forks source link

Error on getContent #194

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi
thanks for your cool support.
I have a problem:
- when i want get wysiwyg value and use 
"jQuery('#wysiwyg').wysiwyg('getContent');" in the js file i get this error:
 $.data(this, "wysiwyg") is null (jquery.wysiwyg.js (line 75))

<!--This is my Code:
jQuery('.wysiwyg').wysiwyg();
<textarea name="wysiwyg" id="wysiwyg" class="wysiwyg" runat="server" rows="5" 
cols="38"></textarea>
-->

Please help me
Best Regards

Original issue reported on code.google.com by m.mehdi....@gmail.com on 28 Jun 2010 at 10:58

GoogleCodeExporter commented 9 years ago
Is it reproduced with latest 0.92 release?

Original comment by akzhan.a...@gmail.com on 28 Jun 2010 at 12:36

GoogleCodeExporter commented 9 years ago
thanks for your quick reply.
Yes.

Original comment by m.mehdi....@gmail.com on 28 Jun 2010 at 1:45

GoogleCodeExporter commented 9 years ago
Can You provide demo page (URL) to be reviewed? It's made solution more fast 
and easy.

Original comment by akzhan.a...@gmail.com on 28 Jun 2010 at 2:00

GoogleCodeExporter commented 9 years ago
Thanks again
I attach the project.
when i use class name, i get the error.

this code return error:
jQuery('.wysiwyg').wysiwyg();
<textarea class="wysiwyg" />

this code is Ok:
jQuery('#wysiwyg').wysiwyg();
<textarea id="wysiwyg" />

Original comment by m.mehdi....@gmail.com on 28 Jun 2010 at 2:23

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by akzhan.a...@gmail.com on 28 Jun 2010 at 2:26

GoogleCodeExporter commented 9 years ago
Hi,
I am waiting for your reply yet!!!!!!!
Thanks

Best Regards

Original comment by m.mehdi....@gmail.com on 15 Jul 2010 at 3:07

GoogleCodeExporter commented 9 years ago
This is fixed in the latest version of jWYSIWYG available for download here: 
http://github.com/akzhan/jwysiwyg/zipball/master

Original comment by alecgo...@gmail.com on 21 Oct 2010 at 5:58