title: How to get object values and properties in jquery?
body: <p>I am using jQuery selector to get the values of all CMS components on the page using <code>$('div.cmscomponent')</code> but how can I test this to see if am actually getting the list of compoents on the page. </p>
  
  <p>I use:</p>
  
  <pre><code>var temp = $('div.cmscomponent');
  alert(temp);
  </code></pre>
  
  <p>and result that I get is [object OBJECT] and so how can I test this ? and how can I get values of the object and its properties.</p>