AnanthaKN / jquery-in-place-editor

Automatically exported from code.google.com/p/jquery-in-place-editor
Other
0 stars 0 forks source link

Returning a value from server.php #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Problem is.. I send the value of an attribute (folder), to server.php

   $(".edit").each(function() {
    // now "this" is your HTML element
        $(this).editInPlace({
            url: "./server.php",
            params: "folder=" + $(this).attr('folder')
        });

    });

This bit works perfectly. But i need a way of it returning the attribute 
value. I.e. How can i make it return the value, so that i can run a 
function with it's value. E.g. updatePage('$folder');

Many thanks!

Original issue reported on code.google.com by thegelde...@gmail.com on 23 Feb 2010 at 10:33

GoogleCodeExporter commented 8 years ago
Right now you would need to handle the whole submit process yourself by setting 
the callback: option.

I'm not really keen on it's interface, so suggestions are welcome!

Please feel free to reopen this bug if you can't solve your problem though. :)

Original comment by mhaec...@gmail.com on 23 Mar 2010 at 10:33