blob: 022a3a07a38a2856d8fc7ed96f0b4deb726fd6a6 [file] [log] [blame]
<html>
<script>
function renameLink() {
document.links[0].innerHTML = "clicked";
}
function changeTextfield() {
document.getElementById("textfield").value = "clicked";
}
</script>
<body>
<a href="javascript:renameLink();">link</a>
<textarea>textarea</textarea>
<form action="">
<input id="textfield" type='text' value='textfield'></input>
<input id="button" type='button' value='button' onclick="changeTextfield()">
</input>
</form>
</body>
</html>