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>