How to do a post, serialize?

How to do a post, serialize?

hi friends, see my code:




<!DOCTYPE html>
<html>
<head>
<title> Test Page... </title>

<script type="text/JavaScript">
            function Imprimir() {
                var a=document.getElementById("xcombcatvar"); 
                var b=document.getElementById("xcombcatmar"); 
                var c=document.getElementById("xcombcattipo"); 
                var d=document.getElementById("xcombcatcal"); 
                var e=document.getElementById("xcombcatcali"); 
                var f=document.getElementById("xacantcaj"); 
                var g=document.getElementById("xorg"); 
                var h=document.getElementById("xcombcatcolor"); 
                var i=document.getElementById("xtemp"); 
/*                window.location = "impetiq.jsp?wvar="+a.options[a.selectedIndex].label+
                                             "&wmar="+b.options[b.selectedIndex].label+
                                             "&wtipo="+c.options[c.selectedIndex].label+
                                             "&wcal="+d.options[d.selectedIndex].label+
                                             "&wcali="+e.options[e.selectedIndex].label+
                                             "&wcant="+f.options[f.selectedIndex].label+
                                             "&worg="+g.options[g.selectedIndex].label+
                                             "&wcolor="+h.options[h.selectedIndex].label+
                                             "&wtemp="+i.options[i.selectedIndex].label; */

                window.location = "impetiq.jsp?wvar="+a.value+"&wmar="+b.value+"&wtipo="+c.value+
                                  "&wcal="+d.value+"&wcali="+e.value+"&wcant="+f.value+
                                  "&worg="+g.value+"&wcolor="+h.value+"&wtemp="+i.value;  
                return false;
            }
</script>
</head>
<body>

<button type="button" onclick="Imprimir()">Click Me!</button>
 
</body>
</html>
How do this with jquery?  but i do with methos POST not GET i want hidde the parameters.

a friend say me: use serialize

Understand me?

any ideas?

thanks