html - How to create JSON response to AJAX request locally without WWW server -
I want to practice with JSON and AJAX only with HTML pages (no PHP, no espin, no ruby, No web server locally installed). I want to create web page which will produce JSAN data as a result for AJAX request.
Is this possible?
Added: Change it a bit, suppose I have a webpage (no asp.net, no php) with headset set to headset, how to create a web page with Jason data ( 'Content-Type: App / Jason');
You give AJAX request URL as "file: /// d: / test dot."
I think IE allows and Chrome does not. And I'm not sure all versions of IE support it.
Of course this 'reaction' will be static. It will not change on the basis of your request inputs.
Comments
Post a Comment