Jason28 Posted April 21, 2011 Share Posted April 21, 2011 Hello, the following article I found shows how to use jquery to click on an image and delete it from an html table row: http://jquery-howto.blogspot.com/200...ser-click.html I do not use html tables, I use div tags. How can I modify the code to work with <div> tags please? My html looks like this: my html looks like this: <div><a href="http://google.com">Google</a><img src="templates/images/red-x.png" class="delete" alt="Remove site" /></div> <div><a href="http://yahoo.com">Yahoo</a><img src="templates/images/red-x.png" class="delete" alt="Remove site" /></div> Quote Link to comment https://forums.phpfreaks.com/topic/234375-jquery-remove-div-row/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.