This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[input-number] input, | |
[input-number] input:focus, | |
[input-number] input:hover, | |
[input-number] input:active { | |
-webkit-appearance: textfield; | |
-moz-appearance: textfield; | |
appearance: textfield; | |
padding-right: 42px; | |
box-sizing: border-box; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let request = new XMLHttpRequest(), | |
requestUrl = '', // Указываем url запроса | |
formData = new FormData(); // Перадаем <form> или просто добавляем ниже через append что нужно | |
request.open('POST', requestUrl); | |
request.send(formData); | |
request.onreadystatechange = function () { | |
if (this.readyState === 4 && this.status === 200) { | |
let response = false; | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function vd(...$args) | |
{ | |
print_r('<pre style="margin:0;padding:20px;font:14px/1.6 Consolas,monospace;' . | |
'background-color:#eee;color:#333">===<br>'); | |
foreach ($args as $i => $context) { | |
if ($i > 0) { | |
print_r('<br>===<br><br>'); | |
} |