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