[jQuery] Re: getting the caller of an event

2007-06-13 Thread james_027
Thanks for all your advices :) cheers, james On Jun 12, 12:07 pm, "Matt Stith" <[EMAIL PROTECTED]> wrote: > using javascript is much better than putting the functions inline in the > HTML. Its alot cleaner, and makes it alot easier to manage. > > On 6/12/07, james_027 <[EMAIL PROTECTED]> wrote:

[jQuery] Re: getting the caller of an event

2007-06-11 Thread Matt Stith
using javascript is much better than putting the functions inline in the HTML. Its alot cleaner, and makes it alot easier to manage. On 6/12/07, james_027 <[EMAIL PROTECTED]> wrote: Hi, I have think of that solution, and but my concern is I have read somewhere that says, why change the dom if

[jQuery] Re: getting the caller of an event

2007-06-11 Thread james_027
Hi, I have think of that solution, and but my concern is I have read somewhere that says, why change the dom if you like $ ("a").click(alert(this.id);return false); if you could code Should it be concern of this? Thanks james On Jun 12, 11:28 am, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > this is f

[jQuery] Re: getting the caller of an event

2007-06-11 Thread Ⓙⓐⓚⓔ
this is for objects , that is not, use that as the name of your parameter. var myEvent = function(that){ alert(that.id ); } But in jQuery... you drop all those bogus hrefs for place holders href="#" and code $("a").click(alert(this.id);return false); On 6/11/07, james_027 <[