Looks like it surpresses errors and alert boxes if jquery isn't yet loaded or available. Sounds useful but also sounds like it could make debugging a hassle.
I use this on all my jquery iforms and it solves the error.
On Fri, Dec 21, 2012 at 9:54 AM, Scott Morris <
scott.r...@gmail.com> wrote:
Mark Pratt sent me this snippet of code that he uses / recommends to allow the standard jQuery "$(document).ready(function() { ... });" syntax to work. I haven't tried it yet personally, but I thought it might be relevant / helpful to this discussion.
if (typeof $ == 'undefined') {
window.onerror = function (e) { return true; }
window.alert = function () { return true; }
}
--
You received this message because you are subscribed to the Google Groups "HEO iForms" group.
To post to this group, send email to
heo-i...@googlegroups.com.