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

[ad_1]

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.

[ad_2]

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