element.onclick should be a pointer to the click function, if it exists.

Is that what you need?

-- Yehuda

On 12/28/06, Michael Haggerty <[EMAIL PROTECTED]> wrote:

I need to know how to copy all of the events from one object to another.
Really getting stuck on this one.

What I am trying to do is write a script that replaces an A tag with a
bunch
of clustered divs, and want to take the events from A tag (an onclick and
some custom ones generated by jquery) and attach them to the new div.

I am finding it's easy to get the names of the events, but I have no clue
how to copy the methods themselves.

Help!

Thank you,
Michael Haggerty
Managing Partner
Trellon, LLC
http://www.trellon.com
(p) 301-577-6162
(c) 240-643-6561
(f) 413-691-9114
(aim) haggerty321
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of bmsterling
> Sent: Thursday, December 28, 2006 10:44 PM
> To: [email protected]
> Subject: Re: [jQuery] My First Plugin - Custom Select Box
>
>
> Damn David, have you been looking at my computer!!!  I was working on
> something like this because I get a lot of designs from my designers
with
> a
> fancy select menu and I figured I create something with jquery to do
what
> you did.  Oh well, your's looks better then what I was doing.
>
> Nice job!
> --
> View this message in context: http://www.nabble.com/My-First-Plugin---
> Custom-Select-Box-tf2893253.html#a8083589
> Sent from the JQuery mailing list archive at Nabble.com.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/




--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to