1

I can see in Chrome/Mozilla/IE Develoer Tools that html generated for GWT's RichTextArea widget is something like this:

<iframe class="GCJ2VDKDEI" style="height: 40px; ">
  #document
    <html>
      <head></head>
      <body>entered text</body>
    </html>
</iframe>

Can anyone tell me in this kind of text, which is shown under tag, how to access, how to limit no. of characters.I have tried so many things on it but no solution :( basically i want to limit no. of characters so i used jquery functions to get the value but was a failure.

Harry
  • 71
  • 1
  • 1
  • 4
  • what are the functions which you tried?? – nandu Dec 21 '13 at 05:41
  • like i tried using its parent class to find the body tag, but all i got is undefined in the alert used : find, children etc – Harry Dec 21 '13 at 05:48
  • I found this link, can anyone help me reading this? http://stackoverflow.com/questions/18757594/gwtmake-text-limit-on-richtextarea-and-stop-user-enter-more-characters – Harry Dec 21 '13 at 05:48
  • I tried these kind of things as well like restricting the keyboard entry http://www.webdesignerdepot.com/2012/10/restricting-input-with-jquery/ but unfortunate again – Harry Dec 21 '13 at 05:55
  • Can you show what you tried, e.g. your GWT code? What exactly do you want to limit? Do you know what you want as the generated html? If so, please show it. – Behe Dec 21 '13 at 12:55
  • i want to limit no. of characters. just like max length. – Harry Feb 07 '14 at 09:09
  • and this is a embedded html frame. – Harry Feb 07 '14 at 09:09

0 Answers0