I think you just have a couple extra single-quotes in there:
$j('#person', '#assigned').blur(function() { sendok=true;
alert(sendok);} );
the selector here is trying to get the #person element within the
context of the #assigned element. if you want to get both, you need
to enclose them in the same set of quotation marks like this:
$j('#person, #assigned').blur(function() { sendok=true;
alert(sendok);} );
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Mar 29, 2007, at 12:22 PM, Shelane Enos wrote:
This doesn't seem to be working:
bindBlur = function(){
$j('#person', '#assigned').blur(function() { sendok=true;
alert(sendok);} );
}
But this does:
bindBlur = function(){
$j('#person').blur(function() { sendok=true; alert
(sendok);} );
}
Do I have to do them all individually or am I just putting those
IDs in
incorrectly?
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/