How can I make the attached snippets dynamic.
I need all of the name value pairs created in Snippet 1 to pass thru to Snippet 2 without revising Snippet 2.
I would like snippet 1 to be based on an array, something like
arrList = New Array("url", "destination", etc)
for(x = 0; x < arrList.length;x++)
arrList[x] + ":" + $('#' + arrList[x]).val()
This would make the solution much more scalable.