string auto splitting in each loop - jquery
- by sluggerdog
I have the following jquery code that is looping through the returned json data, for some reason is it splitting the suburb by a space when being assigned as the value but not as the text, I cannot work out why this is happening.
MY CODE
$.each(data , function( index, obj ) {
$.each(obj, function( key, value ) {
…