Results 1 to 3 of 3

Thread: Js - adding to a select listbox

Threaded View

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Js - adding to a select listbox

    last huge problem then this project's finished thank god !

    I have 2 <select> tags acting like vb listboxes on a web page. When a button's clicked, an entry (<option> tag) is taken out of the left select & put into the right select box.

    The problem is if you hold shift & multi - select entries. If these multiple entries are next to one another, they don't all copy over. If they aren't next to each other, then they all do copy over & I'm stumped becaus of this.

    Hopefully this code (not too big) should help & I've written some comments in to expain this better.

    Thanks All !
    Attached Files Attached Files

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

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



Click Here to Expand Forum to Full Width