Create parameters from jQuery.param : param « jQuery « JavaScript DHTML






Create parameters from jQuery.param

  

<html>
  <head>
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
              
               var params = { width:1, height:0 };
               var str = jQuery.param(params);
               alert(str);


        });
    </script>
  </head>
  <body>
    <body>
        <p></p><p></p><p></p>
    </body>
</html>

   
    
  








Related examples in the same category