[jQuery] Re: Call function in load

2009-10-12 Thread expresso
yea, forgot about removing the (). Thanks. On Oct 12, 9:49 pm, James wrote: > $(".someImage").load(doSomething); > > On Oct 12, 4:26 pm, expresso wrote: > > > Did I do this right?  I can't test right now but I think this should > > work: > > > function doSomething() > >         { > >          

[jQuery] Re: Call function in load

2009-10-12 Thread James
$(".someImage").load(doSomething); On Oct 12, 4:26 pm, expresso wrote: > Did I do this right?  I can't test right now but I think this should > work: > > function doSomething() >         { >                 ... >         } > >  (".someImage").load(doSomething()) ; > > I want to fire off doSometh