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 7516765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:14:14+00:00 2026-05-30T01:14:14+00:00

I am using the jQuery Jeditable (amazing script btw) to create an edit-in-place form.

  • 0

I am using the jQuery Jeditable (amazing script btw) to create an edit-in-place form. So, on top of the form, I load the script. Then, the form consists of several hidden fields, which pre-populate themselves with the text from the relevant < p> tags.

With the help of you all here, this is an example of how the field is pre populated:

Text from edit-in-place page:

<p class="autogrow" style="width: 300px" id="title">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>

Javascript script which does the business:

<script type="text/javascript" charset="utf-8">
$(function() {
  $("#input_3_2").val($("#title").text());
});
</script> 

The problem that I have, is that at the moment, field with ID ‘input_3_2’ is pre-populated with the text from paragraph with ID ‘title’ when the page loads.

Is it possible to re-fill/ or re-populate the field every time the paragraph is changed?

  • 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-05-30T01:14:16+00:00Added an answer on May 30, 2026 at 1:14 am

    Use the callback

    $("#title").editable('http://www.example.com/save.php', { 
        type     : 'textarea',
        submit   : 'OK',
        callback : function(value, settings) {
            $("#input_3_2").val( value );     
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a jQuery jEditable edit-in-place field but when the JSON function returns
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 have a page using JQuery and Jeditable to create editable text elements on
I am trying to write my own edit-in-place using jQuery. My code is something
I'm using the jQuery jEditable plug-in to edit some part of a website. As
I work on a Webproject using jQuery and CakePHP. I use jeditable as an
Using jquery how do I focus the first element (edit field, text area, dropdown
Using jQuery, what's the best way to find the next form element on the
I'm using jquery-ui's draggable for drag-and-drop, and jeditable for inline editing. When I drag

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.