Znarkus/jQuery-Inline-Edit

default value

Opened this issue · 1 comments

I am looking for a way to set a default value in the field. So when the field is empty, and the user clicks on it, the text field appears with the default value set. Do you have ideas how to do this?

ok it wasn't that hard

            if (value=='') {
                value = options.defaultValue($(this));
            }