还有这个代码
点击事件判断是否点击了 class="btn btn-info 19"
可是js好像无法运行这个
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>菜鸟教程(runoob.com)</title>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("btn btn-info 19").click(function(){
$("#uploadphoto").trigger("click");
});
});
</script>
</head>
<body>
<input type="file" id="uploadphoto" name="uploadfile" value="请点击上传图片" style="display:none;" />
<br><br>
<button class="btn btn-info 19">触发输入框的 select 事件</button>
</body>
</html>