مستشار رئاسي سابق: امكان نشر قوات دولية على الحدود
$(function () {
// Handler for .ready() called.
$(“#searchButton”).on(“click”, function () {
var query = $(“#search”).val().trim();
if (query) {
$(“#searchForm”).submit();
}
});
$(“.updateSession”).on(“click”, function () {
var value = $(this).data(“region”);
updateSessionValue(value);
});
function updateSessionValue(sessionValue) {
$.ajax({
type: ‘POST’,
url: ‘/Site/UpdateSession’, // Ensure this matches your route
data: {
sessionValue: sessionValue
},
success: function (response) {
console.log(‘Session updated successfully’);
$(“.updateSession”).removeClass(“active”);
$(this).addClass(“active”);
window.location.href = ‘https://www.annahar.com/’;
},
error: function (xhr) {
console.error(‘Error updating session:’, error);
}
});
}
$(“.regionDropdownBtn”).click(function () {
$(this).parent().find(“.countryDropdown”).show();
});
$(document).click(function (event) {
// Check if the click is outside the countryDropdown
if (!$(event.target).closest(“.regionDropdown”).length) {
$(“.countryDropdown”).hide(); // Hide all dropdowns
}
});
});
العلامات الدالة
الأكثر قراءة
المشرق-العربي
1/28/2026 6:04:00 PM
منبر
1/28/2026 10:07:00 AM
اقتصاد وأعمال
1/26/2026 5:43:00 AM
اقتصاد وأعمال
1/28/2026 11:09:00 AM
window.OneSignal = window.OneSignal || [];
OneSignal.push(function () {
OneSignal.init({
appId: “2d5c85e5-fb2d-4d10-9ce4-323782c157b7″,
});
});
(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement(‘script’);d.innerHTML=”window.__CF$cv$params={r:’9c55affa9f7f6c62′,t:’MTc2OTY1NzgwOQ==’};var a=document.createElement(‘script’);a.src=’/cdn-cgi/challenge-platform/scripts/jsd/main.js’;document.getElementsByTagName(‘head’)[0].appendChild(a);”;b.getElementsByTagName(‘head’)[0].appendChild(d)}}if(document.body){var a=document.createElement(‘iframe’);a.height=1;a.width=1;a.style.position=’absolute’;a.style.top=0;a.style.left=0;a.style.border=’none’;a.style.visibility=’hidden’;document.body.appendChild(a);if(‘loading’!==document.readyState)c();else if(window.addEventListener)document.addEventListener(‘DOMContentLoaded’,c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);’loading’!==document.readyState&&(document.onreadystatechange=e,c())}}}})();
Source: Annahar






















