如何更新JSON数据?

时间:2014-09-23 16:57:50

标签: jquery json

我有JSON数据。我从JSON加载了数据。点击" Title"我想更新JSON数据。如何使用JQuery更新JSON数据?请帮我解决这个问题。

        var Question = [
            {
                Title: "Resident requires staff assistance with pet care.",
                categories: ["AL", "IL", "MC"]
            },
            {
                 Title: "Resident does not have any pets.",
                 categories: ["AL", "IL", "MC"]
            },
            {
                Title: "Has the Health Evaluation been completed?",
                categories: ["AL", "IL", "MC"]
            }
        ];

        // Render the blog posts
        $("#QuestionTemplate").tmpl(Question).appendTo("#QuestionContainer");

0 个答案:

没有答案