hi!!
i am making a shoppingcart where following jsp i have made to display all the selected items.
<%@ page import="java.util.*" %>
<html>
<body link="#FF00F0" bgcolor="#CCFFCC" text="#FF0000">
<form name="cartdetail" method="post" action="cartdetail.jsp">
<h2>Shopping Cart</h2>
<br>
<h3>Currently you have following in your card</h3>
<%
if(session.getValue("engineering")!=null)
{
Vector eng=null;
eng=(Vector)session.getValue("engineering");
out.println("test1");
Enumeration enum=eng.elements();
while(enum.hasMoreElements())
{
String engbk=(String)enum.nextElement();
out.println("<li>"+engbk);
}
}
%>
<table>
<tr>
<th>
Continue
</th>
<th>
Finish
</table>
</form>
</body>
</html>
now i want to add a button with every selected item so that when that button is clicked the adjacent item be removed from session.can anybdy tell me how to do this .is this possible by javascript?if yes please tell me how to do it.
thanks in advance.