title: Getting stock quote with JavaScript though yahoo's webservices
body: <p>I need to create a simple web site that gets the stock value based on the ticket. 
  Input: CSCO Output: 23.49. I'm very new to both webservices and javascript. The current YQL statement I am using is: <code>select * from yahoo.finance.quotes where symbol="CSCO"</code> which does not work.</p>
  
  <pre><code>function getprice()
  {
  
  
    var symbol = $('#stockquote').val();
  
  
  var url = "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22"+symbol+"%22)%0A%09%09&amp;env=http%3A%2F%2Fdatatables.org%2Falltables.env&amp;format=json";
  
  $.getJSON(url, function (json)
  {
  
      var lastquote = json.query.results.quote.LastTradePriceOnly;
      $('#stock').text(lastquote);
  
  });
  }
  </code></pre>