阅读背景:

从名称中获取JavaScript函数对象作为字符串?

来源:互联网 

In JavaScript, if I have a string in a variable, is there a way to get a reference to the function object which has that matching name? Note that jQuery is available to me so I can use any of its helper methods also.In JavaScript, if I have a string in a variable




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: