📜  在 jquery 中分配属性删除 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:14.061000             🧑  作者: Mango

代码示例1
We can use removeAttr() to delete the assigned property of the element.

Example:

js: $("p").removeAttr("name"); output: