Honestly, you'd be better off encoding the results on the server during the step "Im using Ajax to get results back"
On Jul 15, 6:24 am, Aldo <marcwar...@gmail.com> wrote: > Im using Ajax to get results back. > > These results are used to show data and create a link to it: > > Example: > > Name Link > John & Mary www.google.com/John&Mary > Paul & Niamh www.google.com/Paul&Niamh > > How can I get Jquery or Javascript to url encode the link?