AnanthaKN / jquery-in-place-editor

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

Using Sample ".editme4" -> cannot enable the buttons #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I am use the following code in : test.js

--------------------------------------------
$(".editme5").editInPlace({
        url: "./server.php",
        callback: function(original_element, html, original){
            $("#edit5").html(" " + html);
            return(html);
        show_buttons: true  
        }
---------------------------------------------

I use .edit5 in a .html file to let the user change the textfield value
free with this code :

<p class="editme5">type the number</p>

AND show the value at the bottom with this code :

<div id="edit5">--empty value--</div>

It works fine, but the button is missed after the editable are.
I have missed to define smth?

Original issue reported on code.google.com by jozsef.k...@gmail.com on 18 Jan 2010 at 10:14

GoogleCodeExporter commented 9 years ago
Sorry, I have found the problem. It was my mistake...
The "show_buttons: true" line need to be before the callback.

Thanks,   Bassline

Original comment by jozsef.k...@gmail.com on 20 Jan 2010 at 3:31

GoogleCodeExporter commented 9 years ago
Good to know you where able to solve it. :)

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