param
parameter
??? ????() ??? ???
??: param() ???? ???? ??? ???? ??? ????. ? ???? ?? AJAX ?? ? URL ?? ???? ??? ? ????. Q ??: ujqury.param(Object, TraDitational)
????:
????
Object | |
traditional | |
??? ????() ??? ?
<html> <head> <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ personObj=new Object(); personObj.firstname="Bill"; personObj.lastname="Gates"; personObj.age=60; personObj.eyecolor="blue"; $("button").click(function(){ $("div").text($.param(personObj)); }); }); </script> </head> <body> <button>序列化對象</button> <div></div> </body> </html>
??? ????? ??? "???? ??" ??? ?????