Hi Andrew, Currently .live() only support a subset of event types:
> Possible event values: click, dblclick, mousedown, mouseup, > mousemove, mouseover, mouseout, keydown, keypress, keyup > Currently not supported: blur, focus, mouseenter, mouseleave, > change, submit - http://docs.jquery.com/Events/live#typefn There are plans to expand the list of possible event values, but it'll involve some workarounds for the types that don't natively bubble (esp. in IE) and extensive testing that just wasn't feasible for the timeframe of 1.3 / 1.3.1 launch. You're probably better off re-binding events in these cases, or using the LiveQuery plugin. --Karl ____________ Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 26, 2009, at 5:50 AM, Andrew Ingram wrote: > > Hi All, > > I'm using .live() to bind events to forms returned by AJAX requests. > > $('#TB_ajaxContent form').live("submit",function(){ > alert('test'); > $(this).ajaxSubmit(options); > return false; > }); > > This is used with thickbox and jquery.form to allow each returned form > to be used to make AJAX POSTs. It all seemed to be working fine but > I've found that it doesn't seem to work on all machines. I've tested > it using Firefox 3.0.5 (Mac and Windows) and Safari 3.2 (Windows) and > it works fine, but isn't triggered on the same machine using IE8 beta > 2 as well as IE6 through Virtual PC. Other people have reported it not > working in Firefox 3.0.5 on their machines but working fine in Safari > (Mac). > > In each case I have waited sufficient time to ensure that all page > activity has completed before proceeding. > > Regards, > Andrew Ingram > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
