[jQuery] .click()/.bind() bag on IE6
hi all
My script:
function stop()
{
$("#playbta").unbind("click").bind("click",function(){
play(pos);
sreturn false;
});
player.dostop();
}
function play(pos)
{
$("#playbta").unbind("click").bind("click",function(){
stop();
return false;
});
player.doplay(pos);
}
it's piece of my music player...
When user click on "play" button, text on button change on "pause" and event "click" (of button) most change on "play(pos);return false;"...
In all browsers all good...event of button change successfully..
but IE try execute event o_O
for example:
when I execute function "play", IE execute "stop(); return false;" too... o_O and I have eternal cycle :( because IE execute stop(),stop() execute play() and so on....
how it's correct?!
p.s.sorry for my English
----
I using last jQuery