Need someone who is really smart in HTML

Technical Chatter here.
Post Reply
Jdogg





Posts: 184
Joined: Thu Aug 31, 2006 3:18 pm

Need someone who is really smart in HTML

Post 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
User avatar
halo0001





Posts: 853
Joined: Tue Aug 22, 2006 7:59 pm
Location: USA

Post 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.
Image
Post Reply