jQuery 操作 HTML 元素和属性的方法

上传:yangkede16857 浏览: 14 推荐: 0 文件:PDF 大小:225.82KB 上传时间:2021-02-01 12:40:23 版权申诉
jQuery拥有操作 HTML 元素和属性的强大方法。 1. 获取HTML 元素的内容和属性 (1) 获得内容: text()、html() 以及 val()方法 <!DOCTYPE html> <html> <head> <meta http-equiv=Content-Type content=text/html; charset=utf-8/> <title>My Test JQuery</title> [removed][removed] <script ty
上传资源
用户评论