|
I don't understand the `.remove()` behavior here of `$postNav.remove();`
In the snippet below if the first time you click on "I'm a tag" the `.remove()` does work as expected deleting the `<li>` and `<ol>` respectively, but the second time you click on it only the `<li>` is deleted and not the `<ol>`. And i don't understand why the beaviour is different here, has the html remain the sameā¦
i have created a jsfiddle which repro the behavior and avoid a too big post, thanks in advance for any help. kind regards, |