var isId = $('.poleCi select option:selected').attr('data-isId');
// что у нас здесь ?
console.log(isId)$conn = connect();
// что у нас здесь ?
var_dump($_POST);
$isId = $_POST['isId'];
[
"+36" => 'Авиационные',
"+1" => 'Военные',
"+15" => 'Гуманитарные'
]
{id: 36, title:'Авиационные'}
const totalSpecials = data.filter(i=>i.special).length;
// где data - ваш массив.
Uncaught TypeError: $(...).error is not a function$(...).error$(...).on(error, function(){
//обработчик
});
document.getElementById('my-player').addEventListener('ended',handler,false);
function handler(e) {
alert('Порноролик отыграл!');
}
<body>
<button id="btmCheckEmpty">Проверить</button>
<script contenteditable>
window.onload = function() {
document.getElementById("btmCheckEmpty").addEventListener('click',function(){alert('кнопка нажата');});
}
</script>
</body>
console.log(
foundMovies.map((i) =>
nominates.some( (z) => z.id === i.id && z.title === i.title && z.year === i.year ) ? { ...i, ...{ status: true } } : i ));