[jQuery] Re: Jeditable + Json + Multiple Select

2008-01-22 Thread daweb
Thank for reply Mika. Try to explain my issue. I have x number of select input type, generated from a db query. With an ajax call I print the select fields into the page, without page reload obviously. Now i wanna use your plugin to edit this select fields but I can't set the data options with

[jQuery] Re: Jeditable + Json + Multiple Select

2008-01-22 Thread Mika Tuupola
On Jan 22, 2008, at 6:04 PM, Mika Tuupola wrote: I do not fully understand what you are trying to do, but the data parameter can be a function. This function can dynamically set the values to what you want them to be. For example something like: Now when I look at the code. Are you tryin

[jQuery] Re: Jeditable + Json + Multiple Select

2008-01-22 Thread Mika Tuupola
On Jan 22, 2008, at 4:29 PM, daweb wrote: and this is the Js code in which I'm trying to use the plugin: $(".clickOnThisSelect").editable ("idEntryCod)?>", { indicator : " '>", tooltip : "lang->line('clickToEdit')?>", name : "newvalue", id : "elementid", data : data.selectmessage