This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 15357
    
    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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: value of a textbox from a tabbed pane control
 
Similar Threads
tabbedpane ignorant
How does tomahawk Tab comp work
Passing hidden values from one tab to another
on control+tab how to show different tabs in a tabbed pane(urgent)
using h:inputHidden in JSF