Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: User Interface - Arranging a list in HTML

by dingus (Friar)
on Nov 11, 2002 at 09:53 UTC ( #211881=note: print w/replies, xml ) Need Help??

in reply to User Interface - Arranging a list in HTML

I would suggest using Javascript and some Dynamic HTML. Followed by cunning use of a HIDDEN field or two for the form to SUBMIT.

I'm not going to write the code but you could use one or more <DIV> elements to display your list, with UP and DOWN buttons after every element (perhaps better would be a 3 column table?). Each up and down button would swap the relevant entries and update the page and the hidden field with the new order. You will then have submit button to send the final order to your CGI script.

Note that IE has problems with submiting dynamically generated forms so the parts of the form that need to be sent at the end should be parts that existed onthe original page!


Enter any 47-digit prime number to continue.
  • Comment on Re: User Interface - Arranging a list in HTML

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211881]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2020-06-02 09:45 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (16 votes). Check out past polls.