javascript - Elements With name Attributes Going to Server: PHP Convention Only? -


many places have said elements name attribute go server on page change, , element name , value attribute's value travel between client & server. php feature or present in other scripting languages? example, case node.js, or of popular server frameworks express or grunt? also, there ways send other elements or attributes server?

i know ajax can cause pretty go server, asynchronous, , when isn't info doesn't go server right when page sent. if have relevant info on ajax, though, please share it.

when give element name attribute, browser send form data in body of request (if using post) or in query string (if using get). happens no matter language or framework use.

name attribute - not work id - can ajax, passing querystring xmlhttprequest.send (if you're using jquery, read on jquery.post). requests via ajax are, server, identical requests client. if send data in ajax post request, identical request via equivalent form server. same whether you're using php, node.js, or other web framework.

helpful references:


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -