需要使用javascript编辑和删除项目的代码,它应具有以下功能 [英] need code for edit and delete items using javascript it should preform below functionality
问题描述
1-图标{Delete}将包含(OrderId + Item#),在单击时将执行JavaScript,并且会以是/否进行确认,以从购物车中删除商品.
如果(是,则在.ASPX.CS中调用C#函数以从购物车中删除商品.
2-图标{编辑}将在单击时包含(OrderId + Item#),它将执行带有POPUP屏幕的JavaScript,该屏幕允许用户向购物车中添加该商品的更多数量.
如果按下了(更新按钮,则在.ASPX.CS中调用C#函数来更新购物车中已经存在的商品的数量.
1 -The Icon {Delete} will contain the (OrderId+Item#) when clicked it will execute a JavaScript and it will confirm with a YES/NO to delete item from cart.
If (YES then call a C# function within .ASPX.CS to delete the item from the cart.
2 -The Icon {Edit} will contain the (OrderId+Item#) when clicked it will execute a JavaScript with a POPUP Screen that allow the user to add more quantity for that item to the cart.
If (Update Button is pressed then call a C# function within .ASPX.CS to update the qty of the item that already exist in the cart.
推荐答案
不做作业.请将其添加到购物车中.
We don''t do your homework. Please add this to your cart.
这篇关于需要使用javascript编辑和删除项目的代码,它应具有以下功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!