I don't know of any plans to add it to core. I think it works fine as a
plugin.

- Richard

On Fri, Sep 12, 2008 at 8:37 AM, Huub <[EMAIL PROTECTED]> wrote:

>
> Right, is it to be a part of jQuery?
> I can use the extension
> Great.
>
>
> Regards, Huub
>
> On Sep 9, 4:40 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> > Sounds like you may be interested in jquery.simulate:
> >
> > http://dev.jquery.com/view/tags/ui/latest/tests/simulate/jquery.simul...
> >
> > It will create and fire/dispatch mouse and keyboard events. Here's an
> > example of use:
> >
> > $("#myEl").simulate("mousedown", { clientX: 50, clientY: 100 });
> >
> > Browser support for elements and events is quite mixed.
> >
> > - Richard
> >
> > On Tue, Sep 9, 2008 at 10:07 AM, Huub <[EMAIL PROTECTED]> wrote:
> >
> > > I don't think that trigger() does the trick.
> >
> > > First of all i tested it.
> > > second, more important, things like createEvent,
> > > dispatchEvent,fireEvent do not appear in jQuery.js
> >
> > > Regards, Huub
> >
> > > On Sep 8, 11:11 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> > > > Isn't that the same as this:
> >
> > > > $("#ID1").trigger("change");
> >
> > > > -- Josh
> >
> > > > ----- Original Message -----
> > > > From: "Huub" <[EMAIL PROTECTED]>
> > > > To: "jQuery (English)" <jquery-en@googlegroups.com>
> > > > Sent: Monday, September 08, 2008 11:30 AM
> > > > Subject: [jQuery]Fireevents programmatically
> >
> > > > > Sometimes it's needed to create an event programmatically. (Which
> is
> > > > > different from running an event function (triggering)
> >
> > > > > This can be done by the followingfirecode
> >
> > > > > var el=document.getElementById("ID1")
> >
> > > > >fire(el,'change')
> >
> > > > >   functionfire(evttype) {
> > > > >       if (document.createEvent) {
> > > > >         var evt = document.createEvent('HTMLEvents');
> > > > >         evt.initEvent( evttype, false, false);
> > > > >         el.dispatchEvent(evt);
> > > > >       } else if (document.createEventObject) {
> > > > >         el.fireEvent('on' + evttype);
> > > > >       }
> > > > >   }
> > > > > looks like this trick is not yet in jQuery, perhaps for a reason?
> >
> > > > > Huub
> >
> > > > > Regards
>

Reply via email to