开发者

How to set a native object property

ok so im creating a jquery plugin that will allow me to use the new html5 Audio interface and im trying to create an option that is an object t开发者_如何学Chat you will be able to set the various listeners but i dont seem to be able to set those options to the listener property of the Audio object.

ok so ive got as far as the plugin being able to run the functions of the element now i need to be able to set the tons of listeners that the element has


To get the native DOM element wrapped by a jQuery object, write $(...)[0].

If this does not answer your question, please provide more detail.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜