Skip to main content
3 votes
3 answers
72 views

jQuery click triggers click event handler 3 times

I tried to implement a simple website which have 5 checkboxes. If user clicks "All" checkbox then all the other checkbox will be checked or unchecked depends on the value of the "All&...
nammae88's user avatar
1 vote
3 answers
66 views

How do I make everything on a page that responds to a click also respond to enter and spacebar keys with jQuery?

As an accessibility consultant, one thing I run into a LOT is controls that work on mouse click, but not on enter or spacebar. There are plenty of examples of how to add key functionality to specific ...
DeanH's user avatar
  • 523
0 votes
1 answer
42 views

jQuery element controlled by varied clicks

Description I have an offscreen element that contains theming and layout options. Additionally I have a checkbox slider element that allows the offscreen element to be shown. I am using jquery to ...
JLDN Admin's user avatar
0 votes
2 answers
140 views

jQuery click event not fired when element clicked

I've seen this question asked and answered before but after trying several proposed solutions I still haven't had any luck. I have four buttons ( respectively with IDs "frst, prev, next, last,&...
Julie Kelly's user avatar
0 votes
0 answers
55 views

How to fix icons not displaying at first load?

**Problem ** I have built an mobile repair website with a custom repair module where customers can select a type of device, brand and a repair. When he wants to register a repair he goes in the nav-...
Gian Arends's user avatar
0 votes
0 answers
27 views

How to trigger a function both at click on an element and while landing on a page, preserving $(this) selector [duplicate]

I have a set of Accordion(s) (better say, a set of expandable sections in a single page), each of one could be identified by a custom ID (as side note, is a Liferay 7.4 custom fragment). I'd need to ...
Luca Detomi's user avatar
  • 5,656
0 votes
3 answers
57 views

Unable to Detect Change on Dynamically Generated Checkboxes

Description: I'm facing an issue where dynamically generated checkboxes are not triggering the change event when clicked. To address this, I used $(document).on("change", ".integration-...
Sujal__shah's user avatar
1 vote
0 answers
37 views

SignalR JS Events not Firing

Bit of a strange one this, I have signalR installed and I am getting all the network messages (by examining them with chrome dev tools), even the 'ping / pong' messages keeping the connection alive, ...
Mike's user avatar
  • 432
0 votes
1 answer
174 views

How to add keypress event on option element?

I am trying to add an event listener to option elements of particular select elements. But it's not working. HTML: <form id='form1' method='post' name='form1'> <select class="form-...
Indrajeet Singh Yadav's user avatar
0 votes
1 answer
25 views

Jquery if else structure on click each function

I have 6 divs, all with a general class name ".scene", and also have individual class names as ".scene1", ".scene2", ".scene3", ".scene4", "....
Igor Laszlo's user avatar
0 votes
1 answer
59 views

How to fire click event that was attached later before click event attached earlier via jQuery?

//First click handler added via a plugin whose files I do not wish to change jQuery('.element').click(function(){ console.log('click event 1'); }); //2nd click handler - need this to be executed ...
dc09's user avatar
  • 456
0 votes
1 answer
99 views

Turning on and off a click event

So I'm trying to make a photo gallery where: 1.If you click on one of the photos there's a pop up 2.But you cannot click on any photos again until you close the pop up. I've already messed around with ...
N dub's user avatar
  • 1
0 votes
1 answer
92 views

Children Buttons not executing JS when clicked. Click registers and executes JS for parent div

I have a group of buttons that do not console.log when they are clicked. They are nested within a few divs and have been appended through another function. When the .finger buttons are clicked, they ...
BarelyAwake's user avatar
0 votes
0 answers
35 views

How to do a scroll in scroll event

In my site, I'm trying to detect if users scroll up; the site should go to the first page, and vice versa. I have two pages, each page has a full screen (100vh), and both are in the middle of the ...
Ahmed Mohamed's user avatar
1 vote
1 answer
26 views

Can't get data from element by clicking

everybody, i've been little stuck on one thing. I have code like this in JavaScript, JQuery. And those lower part with click, i just can't get data-num attribute, from clicked element. I've tried 100 ...
MilanKlepar's user avatar

15 30 50 per page
1
2 3 4 5
347