I think there are lots of debates over this. An alternative you could try is
<p><a href="#me" id="me" onclick="return false;">Something</a></p>
The ideal would be to have the JS out of the HTML altogether, but I'm not quite sure how to write that. (It's a job for the JS forum. )
PS: the real problem here is having a link that does nothing with JS off. Ideally, users without JS shouldn't be left with a dead link. If that's the case, it suggests there's a better solution.