Skip to content

nik2704/jsFormREST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Simple example of HTTP POST request (form data and JSON format)


The conversion of the entered amount in rubles (taking into account the exchange rate) in dollars.

Settings:

  • .main-form - class of the form element that will send data (1 form of that class in document)
  • input - class of input elements contained in .main-form (some elements of such class but only on main form)
  • div - new element that will be added to 'main form' for displaying message with result of form submit
  • url - link to POST (in our example we are using server.php in same directory as index.html)
  • message - object that contains a set of messages for user.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published