[jQuery] bind problem

[jQuery] bind problem

Hi everybody!
I'm new to jquery and i've got some irritating problem. I want to assign
an "on click" event to an <a> element. I'm using bind method and i'm
getting the error like: "c[j].apply is not a function" in line 1002 in
jquery script file. I have no idea what is the reason. Can you help me??
My code:
var dat = 'some text';
$().ready(function(){
$('a.remote').bind('click', {'s':dat}, function(e){
alert(e.data.s);
});
});
What i've noticed is when i use bind method witout passing to the
callback funtion an object the bind method works ok. But I need to pass
some additional data to the callback function...
Please let me now if someone now the explenation!!
regards,
Adam
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/