I have a record that contains the following.
var web = [{
            url : "www.facebook.com",  
            content : "Social Media Website." 
           },
           {
            url : "www.reddit.com",
            content : "A vast forum for different topics" 
           }] ;
I am trying to print out the url part of the record by doing the following
for(var i=0;i<web.length;i++)
{
    alert({"url":web[i].url,"description":web[i].content})    
}
but I am getting as an output [object Object].
Any help is appreciated.
 
     
     
    