gpt4 book ai didi

html - 如何在 jQuery Mobile 中编辑上传文件小部件的占位符?

转载 作者:行者123 更新时间:2023-11-28 15:09:10 24 4
gpt4 key购买 nike

有什么方法可以编辑 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>

enter image description here

最佳答案

在输入字段中使用标题 input type="file"title ="file"

关于html - 如何在 jQuery Mobile 中编辑上传文件小部件的占位符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53362489/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com