-
Radhika Sharma
Rs. PRICE ON REQUEST{ let words = titleElement.textContent.trim().split(/\s+/); // Trim and split by whitespace if (words.length > 0) { words = words.map((word, index) => { // Skip processing for the first word if (index === 0) { return word; // First word remains unchanged } else { // Process words from the second position onwards return excludeWords.includes(word.toLowerCase()) ? word.toLowerCase() : capitalize(word); } }); titleElement.textContent = words.join(" "); } }); function capitalize(word) { return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase(); } }); function updatePrices() { document.querySelectorAll(".money").forEach(function (element) { let priceText = element.getAttribute("data-currency-inr"); // Get price from attribute if (priceText !== null) { // Ensure the attribute exists let price = parseInt(priceText.replace(/[^0-9]/g, ""), 10); // Extract numeric value if (!isNaN(price) && price > 700000) { element.textContent = "Price on Request"; } } else { console.warn("data-currency-inr attribute is missing on:", element); } }); } // Run the function when the DOM is ready document.addEventListener("DOMContentLoaded", function () { setTimeout(updatePrices, 200); // Small delay to ensure elements are available }); // If content is dynamically loaded, use a MutationObserver const observer = new MutationObserver(updatePrices); observer.observe(document.body, { childList: true, subtree: true });
komal khanna
Rs. PRICE ON REQUESTMegha Gupta
Rs. PRICE ON REQUESTSwati Mohan
Rs. PRICE ON REQUESTSaumya Jain
Rs. PRICE ON REQUESTTanya Mittal
Rs. PRICE ON REQUESTElisha Saini
Rs. PRICE ON REQUESTDivya Pahuja
Rs. PRICE ON REQUESTJasmin Mundi
Rs. PRICE ON REQUEST- Choosing a selection results in a full page refresh.