作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
有什么方法可以编辑 jQM 上传文件小部件的任一文本占位符吗?我想将“选择文件”更改为“上传简历”
<head> <!--jQuery CDN Hosted Files-->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
</head
<body>
<input type="file" name="file" id="cv" value="cv" accept=".pdf" placeholder="Hello" style="padding-top: 1.4vh;border-radius: 0;height: 5.6vh;margin: 0;">
</body>
最佳答案
在输入字段中使用标题 input type="file"title ="file"
关于html - 如何在 jQuery Mobile 中编辑上传文件小部件的占位符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53362489/
我是一名优秀的程序员,十分优秀!