[jQuery] jeditable - setting a different url

[jQuery] jeditable - setting a different url


Hi!
I'm trying to use the jeditable plugin to update a lot of different
strings coming from various part of the database.
I would like to set it like this:
$("span.editInPlace").editable($(this).attr('rel'), {
indicator : 'Un instant, sauvegarde en cours...',
tooltip : 'Cliquez sur le nom pour le modifier.'
});
But Firebug throws me an error :
Erreur : uncaught exception: [Exception... "Component returned failure
code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]"
nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS
frame :: http://youplaboum.dev/_js/jquery-1.3.2.min.js :: anonymous ::
line 19" data: no]
If i hardcode the url instead of using the rel attribute, it works.
But i would really like to have just one javascript call for all my
editable zones, and be able to specify the url via an attribute.
Is that possible at all ?
Thank you,
Alexandre