Как мне изменить местозаполнитель для виджета файла загрузки в jQuery Mobile? - PullRequest
0 голосов
/ 18 ноября 2018

Есть ли способ отредактировать один из текстовых заполнителей виджета для загрузки файла 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

1 Ответ

0 голосов
/ 18 ноября 2018

Использовать заголовок в поле ввода input type = "file" title = "file"

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...