gemini19 — 2010-06-13T20:10:57-04:00 — #1
I don't know why this keeps happening, but when I fill out the form I get the first variable and then [object HTMLInputElement] for the other variables:
var studentId = document.getElementById('student').value;
var firstName = document.getElementById('first').value;
var lastName = document.getElementById('last').value;
var phone = document.getElementById('tel').value;
var studentRecord = studentId + first + last + tel; //used to store a student record
autisticcuckoo — 2010-06-14T01:16:27-04:00 — #2
Hint: you have named your value variables
phone, but you are using
tel in the concatenation.
logic_ali — 2010-06-13T21:56:42-04:00 — #3
I think you just need to look a bit more closely at what you've done - even a layman should see the inconsistency.