guyneo
asked on
delete item from list with a delete icon
Hi Experts,
I am trying to create a preferences list in a webpage using JQUERY. The prefrences will be selected by user from a wide range of available preferences(checkboxes). The selected ones will be displayed in list. I need to let the users delete from the list say by clicking on a delete icon right beside the item in the list. If there are 5 items in the list, each will have its delete button right beside it. Whats the best way/efficient way to implement this? I am assuming that JQuery is pretty compatible across browsers.
Any help is greatly appreciated
I am trying to create a preferences list in a webpage using JQUERY. The prefrences will be selected by user from a wide range of available preferences(checkboxes). The selected ones will be displayed in list. I need to let the users delete from the list say by clicking on a delete icon right beside the item in the list. If there are 5 items in the list, each will have its delete button right beside it. Whats the best way/efficient way to implement this? I am assuming that JQuery is pretty compatible across browsers.
Any help is greatly appreciated
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
. Works perfectly. Thanks for helping out a newbie like me.
Now I am trying to delete items from it.
I am posting it as as seperate question so that I can givepoints seperatealy
Now I am trying to delete items from it.
I am posting it as as seperate question so that I can givepoints seperatealy
thanks for the points
I'd say as you click checkboxes you add an item to the list with a delete link specifically for it. The delete link can have an event set up to delete it.
Do you have a page layout that you are already working with?