Solved

com events and jquery

Posted on 2015-01-14
2
71 Views
Last Modified: 2015-02-25
I have developed a c# dll that is com visible.  It raises events that can be captured in javascript in a web page by using the following:
<script for="ica" event="OnAgentEvents(evd)" language="javascript">
        function ica::OnAgentEvents(evd) {
           // do something based on the argument passed
         }
</script>

how can I translate this to jquery?
0
Comment
Question by:dhenderson12
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 40549030
Hi,
why / how would you like to use this in jQuery?
As jQuery is just a Javascript framework, if your above code is working, it should work the same in jQuery.

HTH
Rainer
0
 

Author Comment

by:dhenderson12
ID: 40549137
I'm fairly new to JQuery.  I don't necessarily need to change the code, since it works just fine, but was wondering if there is a JQuery equivalent to the event handler above.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question