Can I post JSON without using AJAX?

后端 未结 5 811
不思量自难忘°
不思量自难忘° 2021-01-12 15:35

I have some data, lets say:

var dat = JSON.stringify(frm.serializeArray())

I want to submit this to the server using a roundtrip (aka, non

5条回答
  •  清歌不尽
    2021-01-12 16:06

    There is a working draft to support the so called HTML-JSON-FORMS, see: http://www.w3.org/TR/2014/WD-html-json-forms-20140529/

    So far use ajax or send the json into an input text field.

提交回复
热议问题