Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

com events and jquery

Posted on 2015-01-14
2
Medium Priority
?
101 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 1500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
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)
Suggested Courses

916 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