I've had problems with event bubbling [1] Using a link generated by
"jq_link_to_remote". It seems that returning false does not prevent
the event from bubbling [2] if it is assigned via html (i'm using
jquery 1.4.2).
So I have extended the "jq_remote_function" function to adhere to an
additional "'stop_propagation" parameter:
function jq_remote_function($options)
{
...
return $function.(isset($options['stop_propagation']) ? ';
event.stopPropagation();' : '');
}
[1]
http://www.quirksmode.org/js/events_order.html
[2]
http://api.jquery.com/bind/