Assuming that the html contains the following structure:
text
You can do this using something like this:
document.getElementById("abc").href="xyz.php";
You will need to set an ID for the tag, so your tag will look like this:
text // 验证码 看不清? 提交回复