Erik Beeson wrote:
You should be fine defining your functions outside of document.ready.
I agree with your thought, but at this point in time we really want to avoid having to retest the original DOM not ready problem that we fixed with our code blitz -- it was very elusive, and very sporadic.

If your really want, you could do something like:

var myFunction;
$(document).ready(function() {
  myFunction = function(param1, param2) {
  };
  ...
});

Or:

$(document).ready(function() {
  window.myFunction = function(...) {
  };
  ...
});
Excellent, that works, thanks.


 ~ ~ Dave

Reply via email to