摘要:
函数:after(content)
功能:在每个匹配的元素后面添加html内容
返回:jQuery对象
参数:content (): Content to insert after each target.
例子:
Inserts some HTML after all paragraphs.
jQuery Code
$("p").after("Hello");
Before
I would like to say:
Result:
I would like to say: Hello 阅读全文