HighDots Forums  

to make on-fly a text box

Javascript JavaScript language (comp.lang.javascript)


Discuss to make on-fly a text box in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
artev
 
Posts: n/a

Default to make on-fly a text box - 06-18-2007 , 02:29 AM






if I want see in a page 2 box text I write
<input type="text" name="txt_1" ..
<input type="text" name="txt_2" ..

but if I want insert one at time when I click a button INSERT?
and want delete one at time when click a button DELETE?

Reply With Quote
  #2  
Old   
-Lost
 
Posts: n/a

Default Re: to make on-fly a text box - 06-18-2007 , 09:10 AM






artev wrote:
Quote:
if I want see in a page 2 box text I write
input type="text" name="txt_1" ..
input type="text" name="txt_2" ..

but if I want insert one at time when I click a button INSERT?
and want delete one at time when click a button DELETE?
createElement, appendChild, and removeChild.

A few more functions that may be of interest are located in the DOM area
of the Gecko developer pages.

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.