How can I reverse the order of Duck, Donald with Javascript?
I am currently retrieving Duck, Donald from a query string and I would like to be able to display it on the page, receiving it as Dondald Duck.
I am using document.write("Name: " + Request.QueryString("name")); to write Duck, Donald to the page and I would also like to be able to change ‘Mouse’, ‘Mickey G’ to just ‘Mickey Mouse’.
How can I reverse the order of Duck, Donald with Javascript? I am currently
Share
Example at http://jsfiddle.net/6AdGs/