与jQuery中的serializeArray相对(恢复表单) [英] Opposite to serializeArray in jQuery (restore form)
本文介绍了与jQuery中的serializeArray相对(恢复表单)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从 serializeArray
获得数据,你如何用它更新表单?
Having the data from serializeArray
, how do you update the form with it?
var values = form.serializeArray();
form.deserializeArray(value); // What is the deserializeArray analogue?
form.seriaizeArray() === values; // So that this is always true
推荐答案
href =https://stackoverflow.com/a/1490431> jQuery插件序列化表单并还原/填充表单
See jQuery plugin to serialize a form and also restore/populate the form
这篇关于与jQuery中的serializeArray相对(恢复表单)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文