Page 1 of 1

Need someone who is really smart in HTML

Posted: Thu Dec 20, 2007 8:09 pm
by Jdogg
Hello.

I need to have a msgbox that says something, combined with text from an input box in HTML

here is what i have..
<Form Name="Form1">
<input type=Text Name="Text1">
<input type=Button Name=Button1 Value="Click me">

<script language=vbscript>
Sub Button1_OnClick
msgbox "Hi," & Form1.Text1.Value
end sub
</script>
So if anyone could help me, plese do so
thanks :P

Posted: Thu Dec 20, 2007 9:07 pm
by halo0001
if im not mistaken thats vb, so in vb when you want to do that you have to close the msgbox with parenthesis like

Code: Select all

 msgbox("Hey" &  txtbox1.text)
try that.