As the title describe.
I need to pass some data from the server side to the browser.
But I cant figure out how to encode it on the server en decode using
Javascript.
Any ideas?
As the title describe.
I need to pass some data from the server side to the browser.
But I cant figure out how to encode it on the server en decode using
Javascript.
Any ideas?
JSON
On Jul 16, 2010 8:42 AM, “Linus Oleander” [email protected]
wrote:
As the title describe.
I need to pass some data from the server side to the browser.
But I cant figure out how to encode it on the server en decode using
Javascript.
Any ideas?
Michael F. wrote:
JSON
On Jul 16, 2010 8:42 AM, “Linus Oleander” [email protected]
wrote:As the title describe.
I need to pass some data from the server side to the browser.
But I cant figure out how to encode it on the server en decode using
Javascript.Any ideas?
I’m already using JSON to pass data to the client.
But as I wrote in my first post i need to decode a string on the server
site and decode it in the client.
I found a solution to the problem.
The unescape(); method on the client (JS)
And on the server I used URI::escape (Ruby)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs