开发者

How to set a native object property

开发者 https://www.devze.com 2022-12-23 14:05 出处:网络
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 lis

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

精彩评论

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