//***Free for use without any attribution //***Originally posted by Nicke on #javascript //***Cleaned up/changed by Gavin Kistner /********************************************************************************* Parameters: frm - a form object or the name of the form excludeNames - a single string, array of strings, or space-delimited list specifying names of form elements NOT to include in the query string (optional) preventCache - append a unique value to the end of the query string (opt) Returns a string with the form's name/value pairs to be used as a query string Examples: