Click here to Skip to main content
12,763,226 members (30,870 online)
Click here to Skip to main content

Tagged as


Posted 15 Nov 2012

jQuery selection div html() by click something in div.

, 16 Nov 2012 CPOL
$('.remove').live('click', function () { $('.post:eq(1)').html(''); });Please try this this will give you the last div with class = post



Compare Revision Minor Date Status Editor
2 - publicly available No 15-Nov-12 19:56 Available Ravi Tuvar
Updates in content. 45 changes had been made.
1 No 15-Nov-12 19:17 Available Ravi Tuvar


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Ravi Tuvar
Technical Lead IntelliMedia Networks, Inc
India India
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170217.1 | Last Updated 16 Nov 2012
Article Copyright 2012 by Ravi Tuvar
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid