Mika/Erik

Thank you both - the penny has just dropped! ... wood for the trees... and other similar well worn cliches.

Cheers/Bruce


At 09:44 p.m. 22/06/2007, you wrote:


On Jun 22, 2007, at 12:21 PM, Bruce MacKay wrote:

plugin is of no use as the editor is designed to edit any slide the
user chooses - it is the id of this "randomly" chosen slide that I
want to hold in the editor and pass to the stream that goes back to
the server with the updated text.

This is automatically taken care of. You do not need any extra
parameters for that. Id of the edited element is sent back to server
in parameter named "id".

So for example. If you have

<div id="foo">xxx</div>

Edit it with jEditable to contain "Bar" and press submit. What gets
POST:ed to server is:

id=foo&value=Bar

--
Mika Tuupola                      http://www.appelsiini.net/~tuupola/



Reply via email to