This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
dynamically creating a text box
Joined: Jul 25, 2006
Jul 25, 2006 22:02:00
how to create a text box dynamically when i clicked on some image and i want to place that text box just beside that image.
Author and ninkuma
Joined: Jan 10, 2002
Jul 25, 2006 22:22:00
You can create it as part of the page, hide it with CSS and then reveal it at the appropriate time. Or you can truly create it on-the-fly with one of innerHTML or DOM manipulation.
Asking smart questions
Books by Bear
Joined: May 12, 2005
Jul 25, 2006 23:59:00
Or you could use an empty <div> with some id, at the moment you wanna show the text box, place them in as the value of <div>.
SCJA, SCJP5.0, SCBCD, SCWCD
subject: dynamically creating a text box
Populating text box based on selected droapdown
Align top of image with adjacent text item
Auto tabbing among text fields created with logic:iterate
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014