Skip to content

Instantly share code, notes, and snippets.

@24icewolf42
24icewolf42 / gist:e2770b039d1420103a6c
Last active August 29, 2015 14:15
How to populate/serialize a jQuery Mobile form using JSON
<html>
<head>
<script type="text/javascript" src="https://cdn.jsdelivr.net/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/jquery.mobile/1.4.5/jquery.mobile.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/jquery.mobile/1.4.5/jquery.mobile.min.css">
<script type="text/javascript" src="http://davestewart.io/resources/javascript/jQuery/populate/jquery.populate.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/jquery.serializejson/1.2.3/jquery.serializejson.min.js"></script>
<script>
$(function () {