Skip to content

jcgregorio/inline-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published