Current location: Hot Scripts Forums » General Web Coding » JavaScript » [SOLVED] create / delete select element


create / delete select element

Closed Thread
  #1 (permalink)  
Old 07-13-10, 08:46 AM
jonnekke jonnekke is offline
Code Guru
 
Join Date: Oct 2005
Location: holland!
Posts: 706
Thanks: 0
Thanked 0 Times in 0 Posts
create / delete select element

Hi there,

I want to add "select" elements to a form with JavaScript.
It should be also possible to remove them also.

I searched with google, but couldn't find a suitable sollution
for this.

Some can help me out here?

_j
  #2 (permalink)  
Old 07-13-10, 09:21 AM
jonnekke jonnekke is offline
Code Guru
 
Join Date: Oct 2005
Location: holland!
Posts: 706
Thanks: 0
Thanked 0 Times in 0 Posts
EDIT:

the thing I want to accomplish is this:

- a form contains a text inputfield
- site visitor enters a number (for example 3)
- 3 selects will appear
- when some changes the value of the text input the number of select boxes change
- the choices of the other fields should remain.

a example on this page: ..:: tst ::..
  #3 (permalink)  
Old 07-14-10, 08:28 AM
jonnekke jonnekke is offline
Code Guru
 
Join Date: Oct 2005
Location: holland!
Posts: 706
Thanks: 0
Thanked 0 Times in 0 Posts
never mind... I fixed the problem after a lot of search and trying.

the result is still visible on the link for those who are interested!
Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending a DB query on a html link pcinfoman PHP 141 07-25-07 12:41 PM
Please help 2 create more efficiently coded dynamic MySQL SELECT pages from PHP/HTML? pilch PHP 2 05-17-06 05:30 AM
create php file on the fly and delete when session ends recedo PHP 0 01-06-06 10:28 PM
Declared Functions skipper23 PHP 4 12-17-03 10:06 AM
index page not showing up skipper23 PHP 3 12-15-03 01:10 PM


All times are GMT -5. The time now is 02:03 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.