Cloud Stack Ninja

How to hide exactly the same span after clicking on the span with id + number?

<span id="myid-1"></span>
<span id="myid-2"></span>
<span id="myid-3"></span>

    /**   if click button <span id="myid-1"> **/

Span is an old trash can icon that hides the entire post.

Read more here:

Content Attribution

This content was originally published by m kulas at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: