I would like to add 4 divs with close buttons on top right corner , aligned horizontally to a parent DIV.
When the close button is clicked, the div should be removed from the parent DIV. Is this possible with Jquery ?if someone could post a sample code i would really appreciate it !
Thanks
Let’s help you.
jsBin demo
jQ:
or simply:
Take a look at the docs (always!):
http://api.jquery.com/on/
http://api.jquery.com/parent/
http://api.jquery.com/remove