Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 14th, 2012  |  syntax: None  |  size: 0.34 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Call stack is lost when an exception is thrown within a jQuery handler
  2. var oStart = function(){
  3.     var pageMethod = function(){ /*...*/ }
  4.     var pageMethodOther = function(){ /*...*/ }
  5.     /*...*/
  6.     var init = function(){
  7.         jQuery(document).ready(function(){
  8.             /* do your stuff here */
  9.         });
  10.     }
  11. }
  12.  
  13. oStart.init();