$('select').val(price);
$('select').val(price).change();
$('.custom_block').each(function() {
if ($(this).find('.price-unknown').length) {
$(this).find('.block_payment_custom').hide();
}
});
.done(function(html) {
$("#content").html(html);
})
<p>lorem ipsum dolor sit amet.</p>
<p>lorem ipsum dolor sit amet.</p>
<p class="image"><img src="http://via.placeholder.com/350x150"></p>
p:not(.image) {
border: 1px solid red;
padding: 20px 10px;
}
<meta itemprop="lowPrice" content="7500">
<meta itemprop="highPrice" content="9000"/>
AddEventHandler('main', 'OnBuildGlobalMenu', 'addMenuItem');
function addMenuItem(&$aGlobalMenu, &$aModuleMenu)
{
global $USER;
if ($USER->IsAdmin()) {
$aGlobalMenu['global_menu_custom'] = [
'menu_id' => 'custom',
'text' => 'Bitrix Studio',
'title' => 'Bitrix Studio',
'url' => 'settingss.php?lang=ru',
'sort' => 1000,
'items_id' => 'global_menu_custom',
'help_section' => 'custom',
'items' => [
[
'parent_menu' => 'global_menu_custom',
'sort' => 10,
'url' => 'your_new_page.php?lang=ru',
'text' => 'your_new_page',
'title' => 'your_new_page',
'icon' => 'fav_menu_icon',
'page_icon' => 'fav_menu_icon',
'items_id' => 'menu_custom',
],
[
'parent_menu' => 'global_menu_custom',
'sort' => 20,
'url' => 'your_new_page_2.php?lang=ru',
'text' => 'your_new_page_2',
'title' => 'your_new_page_2',
'icon' => 'fav_menu_icon_2',
'page_icon' => 'fav_menu_icon_2',
'items_id' => 'menu_custom',
],
],
];
}
}
<div style="position:relative;height:0;padding-bottom:56.25%">
<iframe src="https://www.youtube.com/embed/hzYjjVcIWOA?ecver=2" width="640" height="360" frameborder="0" style="position:absolute;width:100%;height:100%;left:0" allowfullscreen></iframe>
</div>
$('.ya_donate').on('submit', function(e) {
e.preventDefault();
var form = $(this);
var data = form.serialize();
$.post('/site/donate', data, function(data) {
form.unbind('submit').submit();
})
});
<ul class='active'>
$(document).ready(function() {
$("#menu ul").not('.active').hide();
$("#menu li span").click(function() { $(this).next().slideToggle("normal"); });
});
echo "пример $strs"; //будет использована переменная $strs
echo "пример {$str}s"; //будет использована переменная $str