[jQuery] Re: event coordination problem

2009-09-14 Thread Mr Speaker
utton. > > Am I misunderstanding? > > Rick > > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > > Behalf Of Mr Speaker > Sent: Sunday, September 13, 2009 10:07 PM > To: jQuery (English) > Subject: [jQuery] Re: event coordinati

[jQuery] Re: event coordination problem

2009-09-13 Thread Rick Faircloth
om] On Behalf Of Mr Speaker Sent: Sunday, September 13, 2009 10:07 PM To: jQuery (English) Subject: [jQuery] Re: event coordination problem I pasted your code into a new HTML doc and it ran as expected: if you put the focus in the textbox (#id1) then click the button (#id2) both events get fired (

[jQuery] Re: event coordination problem

2009-09-13 Thread Mr Speaker
I pasted your code into a new HTML doc and it ran as expected: if you put the focus in the textbox (#id1) then click the button (#id2) both events get fired (blur event fires first, click event fires second). Is there anything else in your page? Are you getting any JS errors? On Sep 13, 4:27 am,

[jQuery] Re: event coordination problem

2009-09-12 Thread jhm
Not sure how this helps, and in fact I'm pretty much already doing that. The problem is that if the focus is in the field, when the button is clicked I get the blur event only and not the click event on the button. If you try the code in the OP, you'll see this happening. Remember to click into t

[jQuery] Re: event coordination problem

2009-09-12 Thread Rick Faircloth
How about setting the field to "invalid" to start with and force the user to blur the field for a validation routine to declare it valid. Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of jhm Sent: Saturday, September 12, 2009 1:04