Skip to main content

Questions tagged [jquery-events]

These methods are used to register behaviors to take effect when the user interacts with the browser, and to further manipulate those registered behaviors.

1 vote
3 answers
57 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
  • 499
0 votes
1 answer
40 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
99 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
36 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,636
0 votes
3 answers
54 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
32 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
161 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
23 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
53 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
81 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
89 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
34 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
24 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
-1 votes
1 answer
22 views

Subsequent click event triggering wrong href?

I have a script that triggers a "Leaving Site Alert" popup, if the link is an external link that isn't included in a list of allowed domains. The first link clicked always works correctly, ...
Jillian Hoenig's user avatar

15 30 50 per page
1
2 3 4 5
347