Method 1: Submit through the submit button <! Doctype html> <html> <head> <Title> Submitting through the Submit button </Title> <Meta Charset = UTF-8/HEAD> <Body> <Form Action = METHOD = GET ID = Form1> < input type = text name = username> </input> <input type = submit value = Submit/</form> </body> </html>
Method two: Submit through the general button button <! Doctype html> <html> <head> <Title> Submitting through the general button </title> <meta charset = UTF-8/> </head> <body> <fth action = method = get id = form1> << input type = text name = username> </input> <input type = Button value = ok name = sb onclight = submit1 (); ipt> function submit1 () {var Form1 = document.GetelementByid (form1); form1.action = bjpowerNode.html; form1.submit ();} </script> </body> </html>
Method 3: Submit through the hyperlink <! Doctype html> <html> <head> <Title> Submitting through the hyperlink </title> <meta charset = utf-8/> </head> <body> <a href = bjpowername.html = Zhang San San San Mi > Submit through the hyperlink </a> </body> </html>