摘要: text() - 设置或返回所选元素的文本内容html() - 设置或返回所选元素的内容(包括 HTML 标记)val() - 设置或返回表单字段的值 $("#test1").text("Hello world!"); $("#test2").html("<b>Hello world!</b>"); 阅读全文
posted @ 2020-07-31 21:57 杨超越的歌迷 阅读(64) 评论(0) 推荐(0) 编辑