TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Arul Jesuraj
1.6k
109
22.6k
How to enlarge textbox control when it is moused-over?
Sep 28 2011 7:04 AM
Hi All,
Io enlarge textcontrol when it is moused-over, I'm using the below:
function enlarge(textbox1)
{
textbox1.style.height=textbox1.scrollheight+"px";
}
The problems are:-
------------------
1. How to regain the controls original height?
2. The function should be control-independent. I should be able to use this function for some other textboxes also.
3. When the control is moused-over, all other controls should be overlapped by my text control. i.e, it should hide other controls...
How to do the above using javascript...
Reply
Answers (
2
)
CSS
How to fix "Report header/footer longer than a page" error?