SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Sep 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Selectbox populating div or table

    Hey guys,

    I have a problem regarding a form..

    If you take a look at the link provided you see an example of ceratain selected values beeing passed between two selectboxes..

    http://javascript.internet.com/forms...wapper-2.html/

    Well my problem is that I want the values to appear on a div or table to right instead of the selectbox there...

    Then I also need a delete link next to each selection that appears there and finally the values need to be sent to another php page..

    Thanx

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2007
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You will need to use the DOM (document.createElement,etc) and AJAX to achieve this. It will be a lot of work, is there a specific reason you don't want to use a select box instead?

  3. #3
    SitePoint Member
    Join Date
    Sep 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thnx for the reply justin

    I am developing a website with pretty advanced registration forms that need selectboxes with multiple selections.
    My customer wants for his users to be able to select certain options inside these selectboxes and since there are several of them on the same regform, he want´s the user to be able to see what he/she has chosen throughout the form...
    All of this then needs to be sent to another PHP file (Which then inserts in a DB or sends mails and whatever)

    Feel free to give advice and discuss on how this can be done without it becoming too complicated


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •