The html structure is as follows:
The P,A tag is generated by js into the dom on demand so it is not there initially.
Essentially it is a link/button that should remove itself and the parent box/element (p-tag).
<td> <p> <a href='javascript:remove()'>X</a><br/>test </p> </td>
The remove function looks like this
function remove()
{
$(this).parent().remove();
}
Doesn't seem to work but i'm not sure whats wrong?
Any help is appreciated.

New Topic/Question
Reply



MultiQuote




|