|
-
Jan 17th, 2002, 04:19 PM
#5
Thread Starter
Evil Genius
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|