Skip to content
Advertisement

Tag: jquery

remove active class by scrolling in android

I would like to ask how can I remove active class when scrolling? Everything works fine on desktop size, it removes the active class when I’m scrolling, even if I click on any nav menu, when I’m continue scrolling it removes the active class from that nav menu. But it gets weird on mobile device, if I’m just scrolling it

ajax call to delete a server file returns html of current page

I want to use a click to delete eror_log file on server In the code below why I’m getting html of currently viewing page as a response? This happens regardles error_log exists or not I’m expecting empty string as a response aa.php Answer In the code below why I’m getting html of currently viewing page as a response? Because that

JQuery getJSON Disable Global Events

is there a way to disable global events inside a JQuery $.getJSON function ? The documentation only mention that the global property is available for an $.ajax call, but nothing about $.getJSON. There reason I want to deactivate is that I have a global ajaxStart event that I want to not handle the async JSON file reading. Any possible solution

How can I add bootstrap ‘modal’ in fullCalander

Hi I’m making fullCalendar page for giving information of some events. When I click any date or event, my goal is give specific information. So I want to add bootstrap’s component ‘modal’ in fullCalendar. I searched much time.. but I couldn’t get solution for my problem. How can I add modal on my fullCalendar page well.. Please help me. My

How can I unload/load pages using jQuery?

Here is the things I want to achieve with jQuery. First of all, I want to save a copy of the entire page as is in a variable. I then want to replace the currently loaded page with a loading page from another html file or URL without redirecting to that page. After it has done loading, I want to

jquery event handler only running once

I am having problems with jqueries “click” event handler, its working only once, and then it stops, please I need help fixing it. What I did is, I use an image as a button, for my Web app but, through jquery, but it only runs once. Here is the code: Please tell me if you need more info, Thanks. Answer

Problem with ajax price update when changing options

I got a problem on a Prestashop website (1.7.7.8) , with updating price when changing options. In some particular cases, an error occured and the price is not displayed. You can see the bug here : https://bacom.lebonweb.fr/accueil/32-bache.html This append in a specific scenario, when we have several options ; and not all are availables for all others options (not sure

get last child when using Flex order Css

I am not able to detect last child when using flex order to rearrange divs. since I have arranged order of CSS with Order. its still getting the last child as per dom tree. items divs are dynamic. so we cant use nth-child. how should I get the last child when rearranged with order. There can be multiple items that

Advertisement