JQuery自定义函数

tech2026-02-08  2

$.fn.myFunction = function() { return $(this).addClass('changed'); } //用法: $('.div').myFunction();
最新回复(0)