I have an object built up like so:
tabArray.push({'linkId': 'tabBuild', 'id': 'columnRight','url': '/pages/publish/', 'content':response});
How can i use jQuery/javascript to do a test on that object to see if it contains a certain URL?
I tried this: if($.inArray('/pages/publish/', tabArray) > -1) alert('its in there');
But to no avail!