Skip to main content

All Questions

Tagged with
5 votes
1 answer
4k views

Event Callback issue parent/child component "does not have a property matching the name 'OnClickCallback'"

The issue So I have an issue in Blazor where I am trying to invoke a method in my MainLayout parent component from a child component (NavMenu). All I am trying to achieve is to open a dialog in the ...
Jordan's user avatar
  • 159
0 votes
1 answer
18 views

html add link for call selfFunction with arg obj

it possible inside html to pass a link with self function and pass arg OBJ from the scope example function notifier_ADD(ZZZ) { let message = /*html*/`<a href="#" onclick="...
jon's user avatar
  • 1,688
1 vote
1 answer
2k views

How to track callback function events in JavaScript?

I recently created a simple function for simple JavaScript events which do not need all the bells and whistles of addEventListener. All was well until I needed to track Events (outside of Internet ...
Nicolas Bouvrette's user avatar
3 votes
2 answers
15k views

jQuery selector targeting element with id AND class does not work

I have the following event-handling function: jQuery(document).on('click', '#button .submitb', function(e){alert();}); jQuery IS included in the html document. But, if I click on a <div id="...
Fly's user avatar
  • 840
3 votes
2 answers
3k views

Passing innerHTML to an element and attaching event

I have to pass innerHTML to a div using my JavaScript function.The innerHTML that I am passing also has a div for which I have to attach a click event so that on click of it, the element responds to ...
user1240679's user avatar
  • 6,949