This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Html:Textarea Tooltip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Html:Textarea Tooltip" Watch "Html:Textarea Tooltip" New topic

Html:Textarea Tooltip

Aalok Mishra
Ranch Hand

Joined: Dec 23, 2008
Posts: 41
Hi All,

I have a textarea and i need to add a popup to it to view all the content of textarea at one glance.
The main issue is that I want to add an editable popup to it and want the data in the textarea to change accordingly.
Can anyone of you help me in this? I am a GreenHorn in Struts.
Can we do this using Javascript? Please provide your reply to it.

Here is my code

Thanks and Regards,
Aalok Mishra
InfoCepts, LLC
Ankit Garg

Joined: Aug 03, 2008
Posts: 9303

Can you explain more clearly what you want. What do you mean by pop up with editable text and all thext visible at one glance.

If you only have problem with increasing the height of the text area, then you can use plain javascript DOM manipulation to do that...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Aalok Mishra
Ranch Hand

Joined: Dec 23, 2008
Posts: 41

Actually, the text in the textarea will be quite much as this will be coming under comments section in my application. It will bew hard for the user th read it all at one glance. Hence I want to display all that text in a tootip or a popup window and allow the user to change the text in the pop up itself, if he wants to do so.
David Newton

Joined: Sep 29, 2008
Posts: 12617

How do you know the popup will be big enough?
GeeCON Prague 2014
subject: Html:Textarea Tooltip