- Submit images (notice that the point where you clicked becomes a
parameter):
<table><tr><td><form>
<input type=image src=submit.png border=0>
</form></tr></td></table>
- Text area boxes
<form name=formname>
<textarea rows=4 cols=40 name=textname>
</textarea>
</form>
- Tie-in with Javascript and the `document object model:'
<script language="Javascript">
<!-- set up the text box
function noyak() {
document.formname.textname.value = ""
}
function yak() {
document.formname.textname.value =
document.formname.textname.value + "yak yak yak\n"
}
noyak()
//stops here -->
</script>
<a href="javascript:yak()">Click to yak</a><br>
<a href="javascript:noyak()">Click to shut up</a><p>
Click to yak
Click to shut up