documentCreateElement function
|
| View previous topic :: View next topic |
| Author |
Message |
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
|
Hello everyone, can anyone tell me how do i create forms with the document.createElement function??
Reply with quote
|
| |
|
|
Roombor Enthusiastic Coder
Joined: 02 Jun 2006 Posts: 111
|
fr1m = document.createElement("form");
Input1 = document.createElement("input");
Frm1.appendChild(input1);
Etc
Reply with quote
|
| |
|
|
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
Gladis Enthusiastic Coder
Joined: 24 May 2006 Posts: 107
| |
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
|
I mean that how to I link the textarea and the button inside the form??
Reply with quote
|
| |
|
|
Gladis Enthusiastic Coder
Joined: 24 May 2006 Posts: 107
|
froomzer, Define "link"?
If you mean "Put them both inside the form", then you use appendChilde and Roombor just demoed.
AppendChild as*
Reply with quote
|
| |
|
|
|