• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

set width for text areas

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
no there is no tinymce support forum
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
No thanks. We have all the government we need. This tiny ad would like you to leave now:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic