A
Alex Maghen
I am trying to do something which would seem so simple:
I have a simple Class in ASP.NET that I want to set up to be called and
consumed by a jQuery $.getjson() in a client-side JavaScript.
The Class I want to serialize to json as very simple (except that it has two
fields that are DateTime's and I've heard they're complicated).
I'd love a sample (if anyone has one) of the full code of the ASPX that
serializes and then delivers json (properly ContentType'd), AND a sample HTML
with the jQuery that $getjson()'s it and uses it.
I am having such a hard time with this and I just need a full sample to get
me going!
Many thanks.
Alex
I have a simple Class in ASP.NET that I want to set up to be called and
consumed by a jQuery $.getjson() in a client-side JavaScript.
The Class I want to serialize to json as very simple (except that it has two
fields that are DateTime's and I've heard they're complicated).
I'd love a sample (if anyone has one) of the full code of the ASPX that
serializes and then delivers json (properly ContentType'd), AND a sample HTML
with the jQuery that $getjson()'s it and uses it.
I am having such a hard time with this and I just need a full sample to get
me going!
Many thanks.
Alex