Im sure its simple for you guys, but Im lost. thank you for showing me where I am going wrong.
Trying out new shit!
var nform = document.forms;
var str = nform.tb1.value; //shouldnt this assign the value of
//the text box to the variable?
// Im getting object undefined error