Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
value of a textbox from a tabbed pane control
Joined: Sep 27, 2004
Jun 21, 2006 11:18:00
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.
var hdlyStrt1 = document.getElementById("hldyStartDate1"); alert("Holiday start" + hdlyStrt1) ; where hldyStartDate1 is the name of the textbox control. i get Holiday start null in the alert box.
SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Joined: Nov 08, 2001
Jun 21, 2006 12:10:00
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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: value of a textbox from a tabbed pane control
on control+tab how to show different tabs in a tabbed pane(urgent)
How does tomahawk Tab comp work
Passing hidden values from one tab to another
using h:inputHidden in JSF
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013