随笔分类 -  jQurey

js的类库
摘要:bot回答: Answer: 不可以。文件不能直接设置为 img 元素的 src 属性值。要展示 file 文件,需要在 img 属性中使用 JavaScript 来实现,可以参考以下代码: <img id="uploaded-image" /><input type="file" id="imag 阅读全文
posted @ 2023-02-21 14:02 BBS_自律 阅读(237) 评论(0) 推荐(0) 编辑
摘要:获取jquery对象: $("选择器") jQuery("选择器");jquery对象>>dom对象 方式1: jquery对象.get(index); 方式2: jquery对象[index]dom对象>>jquery对象 $(dom对象) 页面载入 $(function(){}) 派发事件 jq 阅读全文
posted @ 2017-10-24 21:03 BBS_自律 阅读(98) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示