This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android 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
 
 
subject: value of a textbox from a tabbed pane control
 
Similar Threads
using h:inputHidden in JSF
How does tomahawk Tab comp work
on control+tab how to show different tabs in a tabbed pane(urgent)
tabbedpane ignorant
Passing hidden values from one tab to another