Click here to Skip to main content
11,413,676 members (69,055 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

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

, 18 Nov 2012 CPOL
$('.remove').click(function () {var postHTML = $(this).closest(".post").html(); // select closest div or element with class post });try this. its working fine.



Compare Revision Minor Date Status Editor
2 - publicly available No 18-Nov-12 22:40 Available deepak.m.shrma
Updates in content. 24 changes had been made.
1 No 18-Nov-12 22:39 Available deepak.m.shrma


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


About the Author

Software Developer NEC HCL ST
India India
No Biography provided
Group type: Organisation (No members)

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150427.2 | Last Updated 18 Nov 2012
Article Copyright 2012 by deepak.m.shrma
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid