[jQuery] $(document).ready Events not firing on elements of code injected via ajax call

2008-05-30 Thread truent
Im using $(document).ready to bind an onsubmit and onclick event to 2 elements of my form. Either of these events fires separately with no problem. However, when the onsubmit injects html into a div on page, and I then attempt to click on one of the newly injected elements expecting the onclick

[jQuery] Re: $(document).ready Events not firing on elements of code injected via ajax call

2008-05-30 Thread truent
. This basically keeps watch for dom elements that match the selector given. Thus when you inject new content into the div it will automatically hookup any matched new elements. se here for detailshttp://brandonaaron.net/docs/livequery/ If you need more shout On May 30, 5:08 am, truent [EMAIL

[jQuery] Re: Attribute selector (^=) problem with multiple values

2008-01-12 Thread truent
Appears fixed as of 1.1.3 On Jan 10, 2:54 pm, truent [EMAIL PROTECTED] wrote: Im seeing this too. This Works. $(document).ready( function() { $(input).each( function(i){ alert('hi'); } ); This does not: $(document).ready( function() { $(input[id]).each( function(i

[jQuery] Re: Attribute selector (^=) problem with multiple values

2008-01-10 Thread truent
Im seeing this too. This Works. $(document).ready( function() { $(input).each( function(i){ alert('hi'); } ); This does not: $(document).ready( function() { $(input[id]).each( function(i){ alert('hi'); } ); php webpage snippit fieldset class=