You can use eval function :

an example and how to use
http://www.devguru.com/technologies/javascript/11460.asp

~N A R E N

On Sat, Jun 20, 2009 at 1:54 PM, Davis <ywk...@gmail.com> wrote:

>
> Hello;
>
> i want pass a JS function name into a function and call it.
>
> <a onclick="javascript:ajax_loadpage('inittabFeeds()');">babababa</a>
>
> function ajax_loadpage(x_func)
> {
> // how can i call inittabFeeds() which stored in x_func variable ?
> }
>
> many thanks/Davis.

Reply via email to