Category Archives: ajax

javascript: escape()

ShareProblem: Getting error on ajax when passing url with “&” on it. Solution: escape() Definition and Usage The escape() function encodes a string, so it can be read on all computers. Syntax escape(string) Parameter Description string Required. The string to … Continue reading

More Galleries | Leave a comment

simple example of using json

ShareAssuming that this array is the return value of ajax and already been evaluated to json. This is the link on how to do it http://dreamluverz.com/2007/12/12/ajax-and-json/ The {} and [] symbolizes for array “key” : “value” => ‘:’ colon separates … Continue reading

More Galleries | 2 Comments

ajax and json

Share JSON The third method is JSON, JavaScript Object Notation. Personally I pronounce it as “Jason”, so that yet another ancient Greek hero enters modern JavaScript development. (And please remember that Ajax’s father Telamon accompanied Jason as an Argonaut. Jason was … Continue reading

Posted in ajax, javascript, xml | Tagged , , , | 2 Comments