[jQuery] Re: jQuery/JSON forms issue: tries to download response

2009-10-19 Thread Jim
On Oct 12, 8:59 am, MorningZ wrote: > "This change failed to remedy the problem" > > As it shouldn't... > > because the bottom line is: the browser makes the request and the > browser receives the request, and when the browser sees "text/json" > come back from the server, it has no idea what to

[jQuery] Re: jQuery/JSON forms issue: tries to download response

2009-10-12 Thread MorningZ
"This change failed to remedy the problem" As it shouldn't... because the bottom line is: the browser makes the request and the browser receives the request, and when the browser sees "text/json" come back from the server, it has no idea what to do with it so it prompts to download the file

[jQuery] Re: jQuery/JSON forms issue: tries to download response

2009-10-12 Thread Jim
On Oct 10, 9:16 am, Jim wrote: > On Oct 9, 8:50 pm, MorningZ wrote: > > > it's supposed to be "application/json", not "text/json". set the > > content type properly in your server side code and you'll be fine... > > "text/plain" will work as well > > After some further searching, I found t

[jQuery] Re: jQuery/JSON forms issue: tries to download response

2009-10-10 Thread Jim
On Oct 9, 8:50 pm, MorningZ wrote: > it's supposed to be "application/json", not "text/json". set the > content type properly in your server side code and you'll be fine... > "text/plain" will work as well After some further searching, I found this section of code in the jQuery library. If

[jQuery] Re: jQuery/JSON forms issue: tries to download response

2009-10-10 Thread Jim
On Oct 9, 8:50 pm, MorningZ wrote: > it's supposed to be "application/json", not "text/json". set the > content type properly in your server side code and you'll be fine... > "text/plain" will work as well > I don't have control over the server code - is there any other possible work aroun

[jQuery] Re: jQuery/JSON forms issue: tries to download response

2009-10-09 Thread MorningZ
it's supposed to be "application/json", not "text/json". set the content type properly in your server side code and you'll be fine... "text/plain" will work as well On Oct 9, 8:12 pm, Jim wrote: > I have a file upload form (see end of email) that I am am processing > with jQuery so that it c