Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I update a database from JavaScript?

Status
Not open for further replies.

celia05es

Programmer
Jan 10, 2002
81
US
Hello,
I have a jsp file. An array (generated from a database) is printed on the screen.
Next to each element, there are two arrows (up and down). The user can move up/down an element from the list.
By doing this, two things must happen:
- The elements are moved on the screen (I can do that)
- The database must be updated in order to reflect the changes (the table is sorted by entry_order.... and the entry_order has been modified).
how can I do it?


In the jsp file, I have a bean defined where I have my database operations.

Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top