jcgregorio / inline-form

inline form idea

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inline Form Idea

A sample and crude polyfill for the idea of inline HTML forms.

The idea is that there would be a new target type for HTML Forms, an attribute of target=_inline would mean the that Form would be processed by the server and the contents of the Form would be replaced with the HTML returned by the server. That is, on submit the form values would be sent to the server, either POST or GET, and the response should be HTML that the browser will simply .innerHTML on the form that was submitted.

A running example is available. View source on the main page to see a crude polyfill and an example form that uses target=_inline.

Run on Google Cloud

About

inline form idea

License:Apache License 2.0


Languages

Language:HTML 54.2%Language:Dockerfile 23.3%Language:Go 22.5%