[thelist] JavaScript: Passing arguments from one function to another

Joe Ngo chilijoe at gmail.com
Sun Apr 29 09:28:27 CDT 2007


On 4/28/07, liorean <liorean at gmail.com> wrote:
>
>
>
> Function.prototype.apply should do the job:
>
> function myFunction(){
>     if(some_condition)
>         otherFunction.apply(this,arguments);
> }
> --
> David "liorean" Andersson
> --
>

Thanks David. Kudos to your Digital Web article.

-- 
http://xtrahot.chili-mango.net
There's still no place like ~



More information about the thelist mailing list