jwocky
12-06-2007, 02:03 AM
Hi, i'm writing some custom javascript code that will attempt to pull data and replace data from the post input box.
Now I tried something very simple,
<INPUT type="button" name="change" value="Click to see new text!" onClick="document.vbform.vbtextanswer.value='You are cool too!!'">
I'm using that to try to pull info from the vb input box which is inside a custom form (thx to the forms hack by Abe.
Anyways, this obviously doesn't work. So i'm wondering if anyone knows what the name of the object is that vb uses when it constructs the input box? I used 'vbtextanswer' in my example, but thats not it, neither is 'message'.
Thanks for any help!@
Now I tried something very simple,
<INPUT type="button" name="change" value="Click to see new text!" onClick="document.vbform.vbtextanswer.value='You are cool too!!'">
I'm using that to try to pull info from the vb input box which is inside a custom form (thx to the forms hack by Abe.
Anyways, this obviously doesn't work. So i'm wondering if anyone knows what the name of the object is that vb uses when it constructs the input box? I used 'vbtextanswer' in my example, but thats not it, neither is 'message'.
Thanks for any help!@