title: Is it possible to search through json result with jQuery
body: <p>What I'm trying to achieve, is to output a json list that contains a list of Css classes, and their corresponding url records, i.e.</p>
  
  <pre><code>var jsonList = [{
    "CSSClass": "testclass1",
    "VideoUrl": "/Movies/movie.flv"
  }, {
    "CSSClass": "testclass2",
    "VideoUrl": "/Movies/movie2.flx"
  }]; //]]&gt;
  </code></pre>
  
  <p>foreach item in the list I am adding a click event to the class...</p>
  
  <pre><code>$.each(script, function() {
    $("." + this.CSSClass, "#pageContainer").live('click', function(e) {
      videoPlayer.playMovie(this);
      return false;
    });
  });
  </code></pre>
  
  <p>What I'm wondering, is if I can somehow get the corresponding url from the jsonlist, without having to loop through them all again, searching for CSSClass, or adding the url to the link as an attribute?</p>