Avlesh Singh
let the search begin
Avlesh
26, Male
Mumbai
avlesh kumar singh

JsonRequest-Framework

What JsonRequest_is?
  1. JsonRequest is a Javascript framework which enables you to send cross-domain requests from the client browser. Try now
  2. JsonRequest sits on top of browsers' implementation of the <script> tag. It basically allows you to perform a GET request as long as the Content-Type of the response is application/x-javascript. The framework allows you to silently eat-up the errors corresponding to a non-javascript response or responses with HTTP Status-Codes 4xx or 5xx.
  3. JsonRequest framework also allows you to make HEAD requests first followed by the actual request for a resource.
  4. JsonRequest is your long sought alternative to XMLHttpRequest. JsonRequest has been created to make your application span across domains with ease of transfer.
  5. You would enjoy using JsonRequest, if you wish to create a widget in your application and distribute it to other sites.
What JsonRequest_is_not?
  1. JsonRequest is NOT a JSON library. Go here for the same - http://json.org/
  2. JsonRequest framework does NOT encode or decode the responses for requests made using this framework.
  3. JsonRequest framework is NOT "equivalent" to XMLHttpRequest w.r.t the content-type of the response. In XMLHttpRequest your response can be of any content-type (text, html, xml, application/x-javascript ...) whereas JsonRequest restricts you to send only application/x-javascript type data in response to the request.
Plug-n-play downloadable coming soon.

... Until then, you may try out the framework and share your feedback.

Source
json-request.js
head-request-maker.php
I am open to suggestions, ideas and criticism.
icon courtesy - http://www.iconfinder.net | feel free to copy material from this site | avlesh.com