The urls are encoded using urlencode()
.
www.myweb.com/pahe.html?artist=Taylor+Swift
I'm grabbing the string value to be able to pass via jquery's $post()
to a php
$.post(my.php',
{ word:"Taylor Swift" },
How can I pass a string as Taylor Swift
instead of Taylor+Swift
?