[jQuery] Re: getJson + asp.net

2009-05-28 Thread will
I noticed something...instead of parsing a json object I think it is trying to parse an xml docit is hitting the catch. I think I know what the issue is. This project was designed to work on a servlet engine and I'm running it via IIS 7the web config needs to have appropriate settings. Wil

[jQuery] Re: getJson + asp.net

2009-05-28 Thread will
Thanks so much...much cleaner. The json is generated fine ( [{"value":"","caption":"choose color"}, {"value":"bk","caption":"Black"}] ) but the drop downs are still not populating. Here's the after call returns: It appears that jQuery has touch the element but there are no options. On May 2

[jQuery] Re: getJson + asp.net

2009-05-28 Thread MorningZ
yck handcrafting JSON is a pain, thankfully there's great stuff out there by people who have thought of how to help, so some advice: grab this .NET component and drop it in your BIN directory: http://www.codeplex.com/json (note the new version only works with .NET 3.5, grab t

[jQuery] Re: getJson + asp.net

2009-05-28 Thread MorningZ
yck Advice: grab this .NET component and drop it in your BIN directory: http://www.codeplex.com/json (note the new version only works with .NET 3.5, grab the older one if you're in 2.0) then you can stay thinking like .NET and objects Class for each item Private Class