Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Function which create string for post method

When using post method in ajax we have to make string which comprises of name value pairs of fields of our form e.g.if we have name,age as input filed in our form then we have to create string like 'name=dddd&age=23'
.Is there any function which takes form as parameter and return that string which has all the name value pairs.
Thanks
[353 byte] By [d17may] at [2007-11-11 9:39:35]