Saturday, November 29, 2008

[jQuery] Re: jeditable tooltip for empty table cell becomes content

On Nov 29, 1:32 pm, Mika Tuupola <tuup...@appelsiini.net> wrote:
>
> "Click to edit" is also default value for parameter "placeholder".
> Jeditable inserts the placeholder to element if it is empty (otherwise
> there is nothing to click). If you really want the empty you can do
> something like.
>
> $('.edit').editable('http://www.example.com/save.php', {
> placeholder : ""

Good enough -- except that in the case of a table cell, or (I presume)
any other element, with a non-zero width, there *is* something
clickable.

Any road, that solved my problem there. Thanks!

No comments: