But somehow, jquerys .get() function doesnt get the right sort of object and fails.Converting From Array to String is So Easy ! Append value to array . Currently I am using a loop to create an object for AJAX.checking if a string that is a array of JSONObject is empty.jQuery. hide image when I select one show related div [on hold]. 173. var address "2450 Lake Rd, Apt 1580, Huntsville Tx, 77340" var myaddress address.split(,).