Ahh great - that solved it completely :)

thx so much!!

Mika Tuupola wrote:
> 
> 
> 
> On Nov 25, 2007, at 9:54 PM, spherop wrote:
> 
>> basically, i need to dynamically update the submitdata attribute of  
>> various
>> editable text inputs according to events happening on the client.
>> specifically, the user clicks on different thumbnails, and then can  
>> edit in
>> place different properties of the image (such as description, url  
>> etc). when
> 
> Submitdata parameter can be a function. This function can dynamically  
> calculate values you want to pass to submit. For example:
> 
>    $(".editable").editable("http://www.example.com/save.php";, {
>        submitdata : function() {
>            return {foo: "bar"}
>        }
>    });
> 
> Example below will add parameter foo with value bar to request when  
> submitting changes.
> 
> --
> Mika Tuupola                      http://www.appelsiini.net/~tuupola/
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jeditable---issue-dynamically-resetting-submitdata-tf4871410s27240.html#a13953564
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to