Most of the time, we want to get the page source code and other HTML tags in an attribute value of a tag, it is impossible to use a third-party framework, it is a bit sledgehammer kill chicken bright. In this case we can use simple regular
HTML code:
html>
head>
meta http-equiv= "content-type" content= "text/html; Charset=utf8 ">
Title>this is a simple HTML form! title>
head>
body>
form action="send_simpleform.php" method="POST" >
Name:input
This section focuses on using the. html (),. Text () and. Val () Three methods in jquery to read, modify the HTML structure of elements, the textual content of elements, and methods of value values for form elements. jquery provides us with a
When the method of an HTML form (HTML form) is GET, $_get is used to get the data for the HTML form.
When the method for the HTML form (HTML form) is post, $_post is used to get the data for the HTML form.
The difference between get and post for
When the method of HTML form (HTMLForm) is get, $ _ GET is used to obtain HTMLForm data.
When the method of HTML Form is get, $ _ GET is used to obtain the data of HTML Form.
$ _ GET is one of PHP super variables.
When the method of HTML Form
How to use the. html (),. Text (), and. Val () Three methods in jquery to read, modify the HTML structure of an element, the text content of an element, and the value of a FORM elementThis section focuses on how to use the. html (),. Text (), and.
How to Use .html () in jquery (),. text () and. val () is used to read and modify the html structure of an element, the text content of an element, and the value of a form element. This section describes how to use .html () in jquery (),. text ()
March 01, 2004
This article does not want to analyze the HTML syntax and parse the data from it. This implementation is difficult and has no practical significance, or it should be said as follows: we do not want to implement an HTML syntax
This section describes how to use the following methods in jquery: .html (),. text (), and. val () to read and modify the html structure of an element, the text content of an element, and the value of a form element. JQuery provides multiple methods
This section describes how to use the following methods in jquery: .html (),. text (), and. val () to read and modify the html structure of an element, the text content of an element, and the value of a form element. JQuery provides multiple methods
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.