encodeURIComponent(txt)

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

encodeURIComponent(txt)

Will
var txt = "Awards & Honors"

var url = "ai.js?call=setValue&t=encodeURIComponent(txt)"

The value read from parameters becomes

"Awards & Honors"

Is there a need to decode at server side?



Reply | Threaded
Open this post in threaded view
|

Re: encodeURIComponent(txt)

fschmidt
Administrator
I will work on this now.
Reply | Threaded
Open this post in threaded view
|

Re: encodeURIComponent(txt)

Will
Do I need to stop editing code?
Reply | Threaded
Open this post in threaded view
|

Re: encodeURIComponent(txt)

fschmidt
Administrator
yes
Reply | Threaded
Open this post in threaded view
|

Re: encodeURIComponent(txt)

Will
okay. I just pushed one last edit, now I stopped.
Reply | Threaded
Open this post in threaded view
|

Re: encodeURIComponent(txt)

fschmidt
Administrator
In reply to this post by Will
See resume.js line 81.  innerHTML has strange encoding so I used innerText.

done editing