// Serialize an array of form elements or a set of // key/values into a query string param: function( a ) { // code here }
Does not check if argument is an empty atring. To improve the robustness one could write : param: function ( a ) { if ( a === "" ) return "" ; // code here } My assumption is this wont introduce some new issues for the callers of this internal method. -- DBJ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---