<!DOCTYPE html>src="//libs.baidu.com/jquery/1.10.2/jquery.min.js"$(document).ready(function(){personObj=new Object();personObj.firstname="John";personObj.lastname="Doe";personObj.age=50;personObj.eyecolor="blue";$("button").click(function(){$("div").text($.param(personObj));});});Serialize object