Using jQuery and JSON to populate forms?

前端 未结 10 1073
忘掉有多难
忘掉有多难 2020-12-04 10:41

I was wondering how is it popssible to populate forms using JSON?

I have a JSON string which I get using php\'s json_encode() And I want to use the JSON

10条回答
  •  暖寄归人
    2020-12-04 11:25

    This can get pretty complicated. It's best to use a tool to parse your JSON. You can create simple forms pretty easily, but you still need to parse it.

    Check this plugin out instead: http://neyeon.com/2011/01/creating-forms-with-json-and-jquery/

    Or you can use ext4.

提交回复
热议问题