I think it'll only call the attached events. Since you don't have any 'click' event on the <a>, nothing happens. I don't think it'll actually "click" the anchor link for you.
On Feb 27, 10:29 pm, "s.ross" <cwdi...@gmail.com> wrote: > I'm trying to bind the click event and turn click-gets into post or > post (method=delete) to play nicely with Rails. Code in pastie below. > Anyhow, it all works, but if I try to verify my results with $ > ('#postable').trigger('click') the handler appears never to be called. > > Any thoughts are appreciated. > > http://pastie.org/402954 > > Thanks, > > s.ross