jQuery is used only to retrieve data. Data is #textaccessed through direct JavaScript syntax, something likedata.recenttracks.track.artist["#text"]
You cannot do this artist.#textbecause it #is an invalid character for the first character that will be used to access a member of the object. Use square brackets instead.
source
share