Updates
This commit is contained in:
@@ -87,16 +87,30 @@
|
|||||||
<p><img src="/static/image/rustdesk/rd3.png"></p>
|
<p><img src="/static/image/rustdesk/rd3.png"></p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* сохраняем текстовое поле в переменную text */
|
/* сохраняем текстовое поле в переменную text */
|
||||||
var TextKey = document.getElementById("inputTextKey");
|
var TextKey = document.getElementById("inputS1");
|
||||||
|
var TextS1 = document.getElementById("inputS2");
|
||||||
|
var TextS2 = document.getElementById("inputTextKey");
|
||||||
|
|
||||||
/* сохраняем кнопку в переменную btn */
|
/* сохраняем кнопку в переменную btn */
|
||||||
var btnKey = document.getElementById("copyKey");
|
var btnKey = document.getElementById("copyKey");
|
||||||
|
var btnS1 = document.getElementById("copyS1");
|
||||||
|
var btnS2 = document.getElementById("copyS2");
|
||||||
|
|
||||||
/* вызываем функцию при нажатии на кнопку */
|
/* вызываем функцию при нажатии на кнопку */
|
||||||
btnKey.onclick = function () {
|
btnKey.onclick = function () {
|
||||||
TextKey.select();
|
TextKey.select();
|
||||||
document.execCommand("copy");
|
document.execCommand("copy");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
btnS1.onclick = function () {
|
||||||
|
TextS1.select();
|
||||||
|
document.execCommand("copy");
|
||||||
|
}
|
||||||
|
|
||||||
|
btnS2.onclick = function () {
|
||||||
|
TextS2.select();
|
||||||
|
document.execCommand("copy");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
{{UserBottom|safe}}
|
{{UserBottom|safe}}
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user