FormData It can be used to submit form data. Alternatively, it can be used independently of the form to carry keyed data. This time we have a comment form, so we'll use it to get information about that form.
Returns the value of the specified attribute that the element has. If the element does not have the specified attribute, the function returns undefined.
It is true by default and is responsible for converting the object specified in data to the query string (eg msg.txt? B1 =% E3% 81% 8B & b2 =% E3% 81% 8D). The query string is the data sent to the web server by a web browser, etc., written in a specific format at the end of the URL.
A header that tells the server the file format of the data. By default, this is "text / xml" and returns the content type as XML.
When the ajax request is FormData, both values can be sent in the appropriate state, so setting it to false prevents the setting from being overwritten.
After this, I would like to add an incremental search function.
Recommended Posts