javascript access a json object

this might sound dumb but I am trying to display the value of content:I do \[code\]console.log(teams);\[/code\]I open firebug on mozilla and here is what I get :\[code\] [Object { id= "50", content= "Team 1 test" , date="Tue Mar 26 2013 12:00:00"}]\[/code\]when I do \[code\]alert(teams.content);\[/code\] or \[code\]alert(teams[content]);\[/code\]it returns object undefined.What am I doing wrong please ?
 
Back
Top