[jQuery] Re: Creating simple jQuery/JSON result with ASP.NET

2007-12-09 Thread Tony
If you want to convert JSON data to JS Array do function SaveThis(key, val) { $.post("/services/process/config.aspx", { Key: key, Value : val }, function(data){ myarray = eval("("+data.responseText+")") } ); where data is in JSO

[jQuery] Re: Creating simple jQuery/JSON result with ASP.NET

2007-12-08 Thread MorningZ
But what about returning a JSON object? (not just plain text) Like as i get more into jQuery and AJAX i'd like to return some more complicated objects from my aspx code On Dec 8, 11:15 am, Tony <[EMAIL PROTECTED]> wrote: > Hi, > maybe you missed this > function SaveThis(key, val) { > $.

[jQuery] Re: Creating simple jQuery/JSON result with ASP.NET

2007-12-08 Thread Tony
Hi, maybe you missed this function SaveThis(key, val) { $.post("/services/process/config.aspx", { Key: key, Value : val }, function(data){ alert(data.responseText); } ); Tony On 8 Дек, 17:12, MorningZ <[EMAIL PROTECTED]> wrote: > Good