| Author |
Data element creation
|
Sen George
Ranch Hand
Joined: Sep 21, 2005
Posts: 76
|
|
The following code does not seem to create a new text box as intended. Please help.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56521
|
|
|
Study this line carefully:
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15361
|
|
FYI: IE has an issue with setting name on an element like that.
Take a look at this: http://www.pascarello.com/examples/createElement.html
Eric
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56521
|
|
Oh yeah, I forgot about that too. So even if you correct the line I pointed out, you may still have issues in IE.
If you are going to be manipulating the DOM in this way, you are far better off adopting a library like jQuery that does all this for you with the nuances and browser differences already accounted for.
|
 |
 |
|
|
subject: Data element creation
|
|
|