title: JavaScript: Uncaught TypeError: jQuery.toJSON is not a function
body: <p>I have a Tournament Bracket that I found and would like to import it into our vBulletin software.</p>
  
  <p>The script works outside of vBulletin, but when I import it I receive the above error.</p>
  
  <pre><code>function saveFn(data, userData) {
    var json = jQuery.toJSON(data);
  
    $.post("?tid="+ retParam("tid") +"&amp;secretMode="+retParam("secretMode"), {'data':json});                                    
  }
  </code></pre>
  
  <p>It's been driving me crazy, I believe that vBulletin is in strict mode but I can't seem to find the problem.</p>
  
  <p>Working: <a href="http://doghousesocial.com/area51/brackets.php?tid=1&amp;secretMode=inlanadminmode" rel="nofollow">http://doghousesocial.com/area51/brackets.php?tid=1&amp;secretMode=inlanadminmode</a></p>