Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

set width for text areas

 
huzefa qutbuddin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have a text area in which I am using timymce javascript to produce a formatting bar.
Now the problem is that if I try to use other javascripts to limit chars. in the text area, it doesn't work.
So what I was wandering if there is any way in tinymce itself to limit chars. or if somebody faced a similar problem
and found a new solution.

I desperately need help in this so any help will be greatly appreciated .
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This forum is for questions on JSP. Please take the time in the future to choose the appropriate forum in which to make your posts.

This topic has been moved to the HTML forum for you.
 
huzefa qutbuddin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just some more information

I am actually using tiny_mce from this website.
http://tinymce.moxiecode.com/
It is actually a jscript which creates a formatting toolbox(similar to ms word)
eg. you can bold words - It creates the html code, so when you save the text it saves the html code also

My code is as follows

-------------------------------

<HEAD>
.
.
<script language="JavaScript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
<script language="JavaScript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme: "simple"
});
.
.
</HEAD>

<BODY>
<form name="myform" action="../chapter_admin/<%=chapter_name%>?action=add_missionStatements" method="post" onSubmit="return verify();">
.
.
<b>MISSION STATEMENT:</b><p><p><textarea cols="80" rows="5" name="DESCRIPTION" colspan="2">
<%=checkNull((String)selected_missionStatement.getDescription())%></textarea>
.
.
</BODY>

-------------------------------------------------------------------------------------------------------

Now the problem is that if I try to use any other javascript in this text area, the onkeydown or onkeyup events doesn't work at all


Thanks again
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does not tinymce have support forums? You might have better luck there since this is so product specific.
 
huzefa qutbuddin
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no there is no tinymce support forum
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by huzefa qutbuddin:
no there is no tinymce support forum


There is. It took me 15 seconds to find.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic