File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes value of a textbox from a tabbed pane control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "value of a textbox from a tabbed pane control" Watch "value of a textbox from a tabbed pane control" New topic
Author

value of a textbox from a tabbed pane control

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
i have a tabbed pane control ,with two tabs. the first tab, i have a textbox. on click of the second tab, i want the value of this textbox. how do i do this?

i tried the following: it didnt help.



SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
document.getElementById("hldyStartDate1"); is referencing an object. You need to look at the properties. Not sure how you tabs work, but if they require post back, than that textbox is probably no there to reference.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: value of a textbox from a tabbed pane control