jQuery序列化有反函数吗? [英] Is there an inverse function to jQuery serialize?

查看:133
本文介绍了jQuery序列化有反函数吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以写一些东西,我问是否jQuery已经内置了一些东西.

I can write something, I'm asking if something is already built into jQuery.

推荐答案

没有.

您如何知道要更改哪个DOM元素?可能以相同的形式,以不同的形式等具有相同名称的相同元素.

How would you know which DOM element to change? There could be the same elements with the same name in different forms etc'.

也许 parseJSON 会为您提供帮助:

jQuery.parseJSON(json)返回:对象
说明:采用格式正确的JSON字符串并返回生成的JavaScript对象.

jQuery.parseJSON(json) Returns: Object
Description: Takes a well-formed JSON string and returns the resulting JavaScript object.

这篇关于jQuery序列化有反函数吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆