That should work in theory, but your structure is wrong.

If you do something like this:
<a href="#" onclick="$(this).text('yes');">Will this work?</a>
you will see that it works when you click it.

The javascript: protocol is not necessary, but it won't break anything
if you leave it in.

Reply via email to