ZF-11048: View helper binds onload scripts to jQuery's ready event
Onload scripts registered using JQuery view helper are bound to jQuery's ready event, which is wrong. Even the documentation for ZendX jQuery component says that the view helper handles "$(document).onLoad() events", while it actually uses $(document).ready().
This suggested solution is unfortunately not fully backwards compatible. See following example, which would be OK in current implementation (not tested): $this->jQuery()->addOnLoad('$(window).load(alert("Registered window onload callback"););');