首页 > jquery > jQuery 1.4新特性 jQuery.param

jQuery 1.4新特性 jQuery.param

正需要此功能,用于ajax参数传递,例子如下

 <html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
      <script src="http://code.jquery.com/jquery-1.4.js"></script>
 
</head>
<body >
    <form id="form1" runat="server">
    <div id="result">
 
    </div>
    <script>
        var _paramete = { 'web': 'ajaxcn.net', 'type': 'IT','meta':'云飞扬ITblog'}//参数
        var str = jQuery.param(_paramete);
        $("#result").html(str);
    </script>
    </form>
</body>
</html>

原创文章转载请注明出处:云飞扬IT的blog

本文链接: http://www.ajaxcn.net/archives/740

分类: jquery 标签: ,
一键分享到:新浪微博分享  分享到网易微博    转贴到开心网  推荐到豆瓣  分享到QQ空间    RSS订阅
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.