Allality,
<form name="parametry">
<input name="aaa" value="10" />
</form>
<script>
var str = '';
for(i=0; i < document.parametry.elements.length; i++)
{
str += document.parametry.elements[i].name + '=' + encodeURIComponent(document.parametry.elements[i].value) + (i == document.parametry.elements.length -1 ? '' : '&');
}
alert(str);
</script>