Posts in Category: snippets

The Hypertext Transfer Protocol (HTTP)

The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. This is the foundation for data communication for the World Wide Web (i.e. internet) since 1990. HTTP is a generic and stateless protocol which can be used for other purposes as well using extensions of


Ajax getHTTPObject function

 


AJAX – Send a Request To a Server

The XMLHttpRequest object is used to exchange data with a server.

To send a request to a server, we use the open() and send() methods of the XMLHttpRequest object:

 


File Upload in Ajax

Short Version

 


Audio autoplay

 


reCAPTCHA Responsive Scaling

HTML

CSS

Script

 


Sample Ajax call

 


Serialize Form to JSON

or another approach