[Solved] Get the ID of this from an onClick(this) in a button? [closed]


Shouldn’t you add the ID parameter in the IMG?

<img id="some-id" onclick="removeRow(this)" src="https://stackoverflow.com/questions/15420033/someimage">

And also you are calling a different function in the onclick.

solved Get the ID of this from an onClick(this) in a button? [closed]