I have got some links like:
<a href='http://mysite.com/comment/123/edit' class='fancybox'>Edit comment</a>
And Fancybox plugin:
$(".fancybox").fancybox();
When I click on the link I'll see some page from http://mysite.com/comment/123/edit, but I want to see http://mysite.com/comment/123/edit.js.
I know there is href option, but how can I rewrite it to append .js at the end of my original href.