View Single Post
Old 02-27-2013, 01:09 AM   PM User | #1
itxtme
Regular Coder

 
Join Date: Jun 2009
Posts: 105
Thanks: 3
Thanked 17 Times in 17 Posts
itxtme is an unknown quantity at this point
Jquery Append and then remove

I am using the append method to add html to the page. This works perfectly, however when appending that html I also need to append a remove button. It will append the button however it does not work, it wont remove the element.

If I hard code the remove button in it works, but when appeneded nothing happens.

I have a JSfiddle,

When you click on 'Refund Item' the words 'Hello' followed by 'Take it' appear. The take it when clicked should remove the 'Hello' element, but it does not. Ny ideas??

Last edited by itxtme; 02-27-2013 at 01:09 AM.. Reason: add fiddle
itxtme is offline   Reply With Quote