I'm trying to figure out the best solution for my e-mail submission box at my website here. Because of the predefined string methods in JS, namely match() and substring(), I want to do the following:

Test if the submission has a '@' and a '.com', '.net', '.org', '.biz', etc. in it.

Is there an equivalent method to PHP's $_GET or $_POST in JS to grab the data just submitted from the input field in the form with the name 'go'?

Thanks for the help.