<input type="submit" value="LOGIN" name="submit" class="reg" onclick="window.location.href = 'https://site.com/link';">
http://kladr-api.ru/api.php?callback=jQuery111006632334217683427_1570430523293&token=51dfe5d42fb2b43e3300006e&key=51dfe5d42fb2b43e3300006e&contentType=street&query=%D0%9C%D0%B8%D1%80%D0%B0&cityId=6600000100000&limit=10&_=1570430523306
withParents: false,
function get_url($url){
$urls = parse_url($url);
$path_url = array_map('rawurldecode', explode('/', $urls['path']));
return
$urls['scheme'] . '://' .
$urls['host'] .
implode('/', array_map('rawurlencode', $path_url));
}
echo file_url("http://youadomain.ru/you file1.jpg");
$s = 0;
foreach ($tables as $key => $value) {
if () {
$s = 2;
} else {
$s = 1;
}
}
$(document).ready(function() {
$("*").find("a[href='"+window.location.href+"']").each(function(){ // Ищем текущую ссылку
$(this).addClass("current_link"); // Добавляем текущей ссылке class - current_link
})
});
add_filter('nav_menu_css_class' , 'add_active_class' , 10 , 2);
function add_active_class ($classes, $item) {
if (in_array('current-menu-item', $classes) ){
$classes[] = 'current_link';
}
return $classes;
}
$minix = 1;
$maxix = 10;
$numbers = mt_rand($minix * 2, $maxix * 2) / 2;
$(function() {
if($('#customSwitch1').is(':checked')) {
$( 'input[type="submit"]' ).removeClass( "disabled" );
} else {
$( 'input[type="submit"]' ).addClass( "disabled" );
}
});
<div class="modal fade" id="YouModal" data-backdrop="static" tabindex="-1" role="dialog" aria-labelledby="YouModalLabel" aria-hidden="true">
$('#YouModal').modal({
backdrop: 'static',
keyboard: true
})
$('#YouModal').on('hide.bs.modal', function (e) {
e.preventDefault();
e.stopPropagation();
return false;
});