Results 1 to 2 of 2
Dec 19, 2012, 21:01 #1
- Join Date
- May 2011
- atlanta, ga
- 2 Post(s)
- 0 Thread(s)
Check E-mail Submission - PHP Equivalent to $_POST or $_GET Variables?
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.