img 获取路径,prop("src")和attr("src")不同!

prop()获取出来,会自动在路径前加上根目录的路径,attr() 获取是纯净版

posted @ 2016-04-18 13:55  找寻code屠龙之术  阅读(1967)  评论(0编辑  收藏  举报