表单序列化javascript(无框架) [英] form serialize javascript (no framework)

查看:28
本文介绍了表单序列化javascript(无框架)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想知道javascript中有没有没有jquery或任何框架的函数可以让我序列化表单并访问序列化版本?

Wondering is there a function in javascript without jquery or any framework that allows me to serialize the form and access the serialized version?

推荐答案

The miniature from-serialize库 不依赖于框架.除此之外,您还需要自己实现序列化功能.(虽然重量为 1.2 KB,为什么不使用它?)

The miniature from-serialize library doesn't rely on a framework. Other than something like that, you'll need to implement the serialization function yourself. (though at a weight of 1.2 kilobytes, why not use it?)

这篇关于表单序列化javascript(无框架)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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