posted 18 years ago
Hi.
I was thinking to re-implement my showCart.jsp using Scriptaculous (after implementing it successfully with prototype).
showCart.jsp displays each item in the cart using <table> markups.
--
Item name
price
a text field to allow the user to edit the quantity
an ajaxified update link
--
If the user entered 0 (zero) in the text field and clicked the link, the item should be deleted from the session and the HTML table will be update accordingly.
As I said, this is easy with prototype.
I want to employ Scriptaculous this way :
Instead of using a text field, I want to use InPlaceEditor control.
Sure it is easy to update the session state, but how to update the table ?
Yes, I know, I'm misusing InPlaceEditor control, but is it possible to do so ?