CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Other Programming Languages: Javascript: What am I completely doing wrong here???: Edit Log


Apr 16, 2002, 8:02 AM

Views: 45998
What am I completely doing wrong here???

Hi there. I've made some very weird "logic error" in the follow code, that I want to use in a CGI application later. Although It's JavaScript, I would properly make the same error in Perl aswell: Pirate

If you try out the code, you'll see something goes wrong now and then (see attachment).
- Select some names in the first multiselect box.
- Click add
- Select some names in the second multiselect box
- click remove.
- When moving options from one to another select box, the JavaScript will keep the sorting/sequence of the elements identical. (causing the error)
- Repeat that until you get that **** error.

Some combinations seam to result in a weird error. Can anyone explain me why that happens?? Crazy

Yet Another Perl Programmer

~~> [url=] <~~
More then 3500 X-Forum [url=]Downloads! Cool

(This post was edited by yapp on Apr 16, 2002, 8:05 AM)
Attachments: testselectboxes.html (5.25 KB)

Edit Log:
Post edited by yapp (User) on Apr 16, 2002, 8:05 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives