Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

I want to show the edit form automatically when it added #148

Open
boxter007 opened this issue Jun 26, 2019 · 0 comments
Open

I want to show the edit form automatically when it added #148

boxter007 opened this issue Jun 26, 2019 · 0 comments

Comments

@boxter007
Copy link

I want to add a editable named 'var' , and I want to show the edit form automatically when it added.But the form shows and soon disappears.
How can I do it ? How to correct this code below

$('#var').trigger('click.editable');

Full code

$('#var').editable({
            type: "text",
            url: '../',
            type: 'text',
            name: 'name',
            success: function(response, newValue) {
                    console.log(response);
            }
        });
        $('#var').trigger('click.editable');
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant