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
Tag: jquery
countdown timer stop (how to do in this situation)
i try to do countdown timer. But i get a double timer on the third click,and the more and more after next click… I am racking my brain trying to figure how do this. Can you help me? Answer Clear the interval in your JavaScript file as follows every time in the goTime function:
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 to align text to Top in first column in excel when exported from Datatables
here i want to align text of column A top aligned in excel sheet when i export it from data tables. iam new programmer any help is appreciated. this what iam getting the result i want is the column A in excel should be Top aligned when i export it this is the result i want.as you can see Column
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