Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
119 views

OnClick events are refreshing page in ASP.NET

I am using Firestore as my database to gather data and present it through a repeater to create cards on my Kesitler.aspx page using C#. My main issue is that when I click on an asp:Button element, it ...
Abdullah Seçgeler's user avatar
0 votes
0 answers
70 views

on Click over Slice in Pie Chart, Filter all records of that Slice of Pie Chart in Pivot Table

I want create a Pie Chart using Pivot Table data And OnClick over slice of Pie Chart, Filter all records in that Slice of Pie Chart in Pivot Table.My problem is I want Chart event Handling to work ...
Joe's user avatar
  • 103
0 votes
1 answer
894 views

How to get target element with onclick() javascript

I was trying to get the target element using onclick() function and just noticed that it is not possible using e.target though it was possible with deprecated event.target (still giving result). Ths ...
user avatar
0 votes
0 answers
48 views

I can't use onClick Event in React

I'm using react-data-table and I have to make folder-tree I made but I cant click to span in TreeNode Component. I don't know why. <td> <div className="...
Tarik DEGIRMENCI's user avatar
-1 votes
1 answer
55 views

button onclicks not working on certain elements

I am making a game in JavaScript. I am trying to create a button with an onclick element and attach it to the scene. I have already done this in several places, but now the code is failing. This is ...
grevans's user avatar
  • 29
0 votes
1 answer
369 views

How to trigger a span click event on an icon wrapped in a span?

I have a basic react ToggleBtn component that changes the up/down icon and triggers a modal. The button consists of text and an icon wrapped in a span. The problem is the event.target is different ...
tlockhart's user avatar
  • 483
0 votes
0 answers
22 views

Unexpected click event propagation to sibling when `label` parent contains `button` and `span` children [duplicate]

When a label element contains button and span children (all siblings), clicking the span unexpectedly also clicks the first button. For example, here's a label that has 2 buttons and 2 spans as direct ...
mwag's user avatar
  • 4,065
0 votes
1 answer
82 views

Uncaught ReferenceError: displayText is not defined at HTMLAreaElement.<anonymous>

Any time I try to add a function to an onclick or event listener I get the titled error. I don't understand why it does this. Here is the code: export class Clickables { constructor(game) { ...
Jleger91's user avatar
1 vote
1 answer
44 views

How to Delete Dynamically Created Elements from db.json

I'm trying to dynamically create cards using a db.json, and add - delete, edit, add new features. However, since every card has its own delete button, I'm struggling to attach them to their ...
Zixxy7's user avatar
  • 71
0 votes
1 answer
317 views

How can I ensure that only the parent element is captured for a click event?

I have this simple Ticket React component. I want to only capture the surrounding <tr> parent element, but sometimes if I click on one of the table cells it will give me a <td> element. ...
gtrman97's user avatar
0 votes
0 answers
39 views

Trying to use the correct onclick events to make code run at different intervals

I have 12 boxes I need to have turn on one after another after I press the 'MOVE' button in Javascript. The CSS and HTML I already have written for the program. This is the code I've written so far ...
Jaymie Redman's user avatar
0 votes
1 answer
359 views

React sending wrong value in inline onClick event

React 17.0.2. My application involves a small event calendar. I am trying to make a function where to make an event, you can open the event window then click the date on the calendar and the date will ...
peruvian_sailboat's user avatar
0 votes
1 answer
51 views

OnClick generate different Events when you click multiple times

I'm trying to get my OnClick to generate differente events when I click once or twice. On the first click the ImageView changes, on the second it pass to a different Activity. Here's my code for now ...
Emma.bk's user avatar
  • 189
0 votes
1 answer
220 views

GTK Clickable Text inside Text View/Buffer

How to make a portion of text inside a GTKTextView to be clickable, so that clicking on the specified portion will trigger some event? And, moreover, how to obtain the exact portion of the text being ...
Danny Witwer's user avatar
0 votes
2 answers
95 views

How do I use the compute() event properly for a calculator

I'm trying to code a sample rate calculator and I need the compute() function to display text with certain parameters each time it's pressed, but it's not working I'll paste the code samples below. ...
That Lady's user avatar

15 30 50 per page
1
2 3 4 5
34