Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8105565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:11:54+00:00 2026-06-06T00:11:54+00:00

I am using the Jeditable JQuery plugin to make edit in place changes to

  • 0

I am using the Jeditable JQuery plugin to make edit in place changes to a list. This works fine with the existing list items on the page.

$('.edit').editable('http://localhost:8080/EditInPlace/Editable', {
    event     : "dblclick",
    callback : function(value, settings) {
        $(".dropdown dt a span").html(value);
        $("#result").html("Selected value is: " + getSelectedValue());
    }
});

However, I am adding list items dynamically on the page, and these do not respond to the event handler. I am assuming I need to use delegated events, like I use for the click event.

$(document).on("click",".edit",function(e){
    alert("click!");
});

I cannot figure out how to add the Jeditable handler to a delegated event. Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:11:56+00:00Added an answer on June 6, 2026 at 12:11 am

    Delegation methods are intended for events. You could create a custom event but to keep it simple for now just call your plugin each time you add new elements that need it.

    This can be in an ajax success callback, or after you call any insertion method like append() or html() in your code.

    Several things you can do to keep code leaner are store the options object of the plugin in a variable so you don’t have to create them each time, or create functions that contain numerous plugin calls.

    Example:

    var edit={ 
           url: 'http://localhost:8080/EditInPlace/Editable',
           opts:{
                event     : "dblclick",
                callback : function(value, settings) {
                     $(".dropdown dt a span").html(value);
                    $("#result").html("Selected value is: " + getSelectedValue());
            }
        }
    };
    
    $(selector).append( newContentString).find('.editClass').pluginName(edit.url, edit.opts)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm using this plugin: jquery-in-place-editor , I'm trying to make a POST request
I'm using the Edit-in-Place JQuery plugin, JEditable: http://www.appelsiini.net/projects/jeditable . I would like to use
I'm using this edit-in-place widget jquery.jeditable.js . On Windows 7, in Chrome (latest version
I am using a jQuery jEditable edit-in-place field but when the JSON function returns
I'm using the excellent jEditable plugin for some in-place editing on my page. There
Using Flask Flask-sqlalchemy Sqlalchemy Jquery Datatables (jquery plugin) Jeditable (jquery plugin) Consider this user
I'm submitting data using the jQuery plugin 'Jeditable' and that part is working fine.
Using jQuery, I make these changes in the DOM: $(document).ready(function() { $('.editable').click(function() { var
I am using JEditable jquery plugin to update some data on my webpage. After
I have been using the JEditable plugin for JQuery and I would like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.