title: jQuery - Uncaught TypeError: Object 0,0 has no method 'split' - Trying to split() on object
body: <p>I'm just trying to split an <code>object</code> using commas as a delmiter. I know there is SOMETHING to split because when I output it by itself... it successfully says (over a loop) 1,1 and other numbers.</p>
  
  <p>Here is a JSFiddle. <a href="http://jsfiddle.net/weka/5Xtwj/" rel="nofollow">http://jsfiddle.net/weka/5Xtwj/</a></p>
  
  <p>If you remove these last two lines in the JavaScript section, it will work correctly because I am not wanting to get the <code>X</code> of the array.</p>
  
  <pre><code>var getX = path[index].split(",");
  $("#debug").append("X: " + getX[0]);
  </code></pre>
  
  <p>PS - It is using this <a href="http://qiao.github.com/PathFinding.js/lib/pathfinding-browser.js" rel="nofollow">pathfinding script</a> as an external library. But that isn't the problem.</p>