On Aug 12, 2:23 pm, Ming <mcpm...@gmail.com> wrote: [...] > For example: > > $.each(eval(response),function(key, item) { > alert(item.Account); //Work > alert(item.Amount); //Work > alert(item.Reference Date); //Fail > > }); > > I have try > alert(item('Reference Date')); > alert(item['Reference Date']); > alert(item[0]); //Assume it is on index 0 > > all of them are not work. <URL: http://www.jibbering.com/faq/faq_notes/square_brackets.html > -- Rob
- [jQuery] How to access the member of $.each() when Key has space? Ming
- [jQuery] Re: How to access the member of $.each() when Key has s... RobG