You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running this through $.param creates the following:
"a=1&b=2&c=3&d=4&e=5"
JsRoutes currently raises the following exception when trying a similar array:
Error: Url parameters should be a javascript hash
It would be nice if JsRoutes could support this style of parameter array. JavaScript hashes aren't ordered, hence the serialized array that jQuery provides, which does provide a specific order.
The text was updated successfully, but these errors were encountered:
jQuery's
$.param
function supports parameter arrays created by.serializeArray
as shown here:http://api.jquery.com/serializeArray/
Running this through
$.param
creates the following:"a=1&b=2&c=3&d=4&e=5"
JsRoutes currently raises the following exception when trying a similar array:
It would be nice if JsRoutes could support this style of parameter array. JavaScript hashes aren't ordered, hence the serialized array that jQuery provides, which does provide a specific order.
The text was updated successfully, but these errors were encountered: