+1  A: 

try post insted of get request.

sweet
don't work. in firebug my own callback is specified as param, but the action returns jsonp1279202225996 as callback
snirgel
A: 

You should use the jQuery.ajax version but not hardcode the callback name. Instead parse the href attribute and extract the name of the callback to use..

and here is the parsing..

jQuery('#mylink').live("click", function() {
    var href = jQuery('#mylink').attr('href');

    jQuery.ajax({
      type: 'GET',
      dataType:"jsonp",
      jsonpCallback: href.match(/([?&]callback[a-zA-Z0-9=]+)/)[0].split('=')[1],
      error: ErrorHandler.catchXhrError,
      url: href;
    });
});
Gaby
yes. thought about that, but hoped i could avoid to parse.
snirgel
thanks. will try it out...
snirgel
A: 

Have you looked into http://code.google.com/p/jquery-jsonp/ ?

Julian Aubourg
Yes i did, but i didn't want to insert an extra lib for that. Thought i could resolve the problem by myself. I tried the solution from Gaby below and parse the callback param from the href. works well...
snirgel
Glad you found a way out of this :)
Julian Aubourg