In a javascript method, I have a form name.
Given that form name, I want to be able to read all its paramter names and their values. and construct in the form of "name="+encodeURI("value")+"&" and so on so that I can pass the final string to the ".send" method of xmlhttp.
Is there a helper function that does this already? Or which functions should I use to iterate through any given form with just its name.