Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

value of a textbox from a tabbed pane control

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic