Solved

com events and jquery

Posted on 2015-01-14
2
65 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
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)

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now