[mochikit] Re: "event.target" missing

2007-10-19 Thread Jonathan Gardner
My opinion is that if you want to simulate a click, you're going to have to create an event that looks like a click and pass that as a parameter to the signal call. On Sep 28, 4:05 am, hzlabs <[EMAIL PROTECTED]> wrote: > Hi Beau, > > as i stated in the answer to Jeremy, > i slightly missunderstoo

[mochikit] Re: window onclick doesn't work in IE

2007-10-19 Thread Olli Wang
Thanks, it works. :) On Oct 19, 11:12 pm, Beau Hartshorne <[EMAIL PROTECTED]> wrote: > On 19-Oct-07, at 2:30 AM, Olli Wang wrote: > > > Hi, I just tried: > > > connect(window, 'onclick', function () {alert('test')}) > > > When I click on the window I should get an alert message. But it works > >

[mochikit] Re: window onclick doesn't work in IE

2007-10-19 Thread Beau Hartshorne
On 19-Oct-07, at 2:30 AM, Olli Wang wrote: > Hi, I just tried: > > connect(window, 'onclick', function () {alert('test')}) > > When I click on the window I should get an alert message. But it works > fine on Fx, Safari and Opera, but not in IE 6 and IE 7. What's wrong > about this function for IE

[mochikit] window onclick doesn't work in IE

2007-10-19 Thread Olli Wang
Hi, I just tried: connect(window, 'onclick', function () {alert('test')}) When I click on the window I should get an alert message. But it works fine on Fx, Safari and Opera, but not in IE 6 and IE 7. What's wrong about this function for IE? Any help would be appreciated. --~--~-~--~--