View Single Post
  #5 (permalink)  
Old Dec 6th, 2006, 16:16
Sabin_33 Sabin_33 is offline
Junior Member
Join Date: May 2006
Location: A Place Far Away
Age: 26
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Capture Values/Properties

How can I do this with php?
I have seen some code snippets of javascript but I'm not understanding how it works.

Why can't I just do something like this :
Code: Select all
function checkthisout(MyField)
{
    alert(MyField.Name & " " & MyField.Value) 
}

//HTML stuff
<form>
Type Here:
<input type="text" name="test1">
<input type="submit" onclick="return checkthisout(test1)">
</form>
Reply With Quote