File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to read the value of a nested tag
Joined: Apr 16, 2009
Dec 15, 2009 00:26:16
Say like i have one textbox name="textbox1" and inside it i have another textbox... name="textbox2".. How can i read the value of the textbox2 in my
Joined: Apr 08, 2009
Dec 15, 2009 01:12:28
Please, use real code, what do you really have?
What kind of tag? is a
, a .tag?
In any case you have to evaluate the body, depends on what you are using you will do it in one way or another.
Author and ninkuma
Joined: Jan 10, 2002
Dec 15, 2009 08:16:48
If by "textbox" you mean an <input> element of type "text", then it is not valid HTML to nest them.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: How to read the value of a nested tag
form field's value from a string
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014