Agh, syntax error:

Fixed:

$(window).load(function() { alert('foo'); });

Is this the proper way to call $(window).load() using setOnLoadCallback
()?

Thanks!
M

On Jul 26, 2:43 pm, Micky Hulse <rgmi...@gmail.com> wrote:
> Hello,
>
> This does not seem to work:
>
> //http://code.google.com/apis/ajaxlibs/documentation/
> google.load("jquery", "1");
> function OnLoad() {
>         $(window).load(function () { alert('foo'); }}
>
> google.setOnLoadCallback(OnLoad);
>
> What am I doing wrong?
>
> Thank you!
>
> Cheers,
> M

Reply via email to