Thanks cudabean,

If I understand this right though, you're defining a new element on the page?
My idea (if it's possible) is to use an existing one. I could use :
Code:
FunctionProper() {
	alert(document.forms.elements.item("text1"))		
}
In the actual function, but if I had 5 function doing the same thing, I was hoping to make a general function with the messagebox/alert code in, and just call this from the 5 functions I need, passing in the name of the element/textbox I want to display the value of.

Not sure if that one made too much sense there, sorry.
Thanks!