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

  • Home
  • SEARCH
  • 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 56779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:35:17+00:00 2026-05-10T17:35:17+00:00

I work on a Webproject using jQuery and CakePHP. I use jeditable as an

  • 0

I work on a Webproject using jQuery and CakePHP. I use jeditable as an inplace edit plugin. For textareas I extend it using the autogrow plugin.

Well, I have two problems with this:

  • First, autogrow does only work on Firefox, not on IE, Safari, Opera and Chrome.
  • Second, I need a callback event for jeditable, when its finished showing the edit-component, to recalculate the scrollbar

Im not so familiar with Javascript, so i can’t extend/correct this two libraries by my own. Has anyone used another js-library for inplace edit with auto growing textareas (no complete editors like TinyMCE, I need a solution for plain text)?

I also found Growfield, it would work for other browsers, but there’s no jeditable integration…

(sorry for my english)

  • 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. 2026-05-10T17:35:17+00:00Added an answer on May 10, 2026 at 5:35 pm

    I didn’t see any problems using Autogrow with jeditable in any browsers but here is an implementation of Growfield with jeditable. It works much in the same way that the Autogrow plugin for jeditable does. You create a special input type for jeditable and just apply .growfield() to it. The necessary javascript is below, a demo can be found here.

    <script type='text/javascript'> /*  This is the growfield integration into jeditable     You can use almost any field plugin you'd like if you create an input type for it.     It just needs the 'element' function (to create the editable field) and the 'plugin'     function which applies the effect to the field.  This is very close to the code in the     jquery.jeditable.autogrow.js input type that comes with jeditable.  */ $.editable.addInputType('growfield', {     element : function(settings, original) {         var textarea = $('<textarea>');         if (settings.rows) {             textarea.attr('rows', settings.rows);         } else {             textarea.height(settings.height);         }         if (settings.cols) {             textarea.attr('cols', settings.cols);         } else {             textarea.width(settings.width);         }         // will execute when textarea is rendered         textarea.ready(function() {             // implement your scroll pane code here         });         $(this).append(textarea);         return(textarea);     },     plugin : function(settings, original) {         // applies the growfield effect to the in-place edit field         $('textarea', this).growfield(settings.growfield);     } });  /* jeditable initialization */ $(function() {     $('.editable_textarea').editable('postto.html', {         type: 'growfield', // tells jeditable to use your growfield input type from above         submit: 'OK', // this and below are optional         tooltip: 'Click to edit...',         onblur: 'ignore',         growfield: { } // use this to pass options to the growfield that gets created     }); }) 

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 88k
  • Answers 88k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer insert parent (userId, group, name) select distinct userId, group, concat("user… May 11, 2026 at 5:46 pm
  • Editorial Team
    Editorial Team added an answer Yes, Java bytecode (and source code) is platform independent, assuming… May 11, 2026 at 5:46 pm
  • Editorial Team
    Editorial Team added an answer $(function() { $(".nextButton").click(function() { $(this).parent().hide().next().show(); }); $(".prevButton").click(function() { $(this).parent().hide().prev().show(); });… May 11, 2026 at 5:46 pm

Related Questions

I wanted some of those spiffy rounded corners for a web project that I'm
I'm considering building a web app using Java and Google Web Toolkit and I
Problem overview: When using Eclipse Ganymede with the Web Tools Platform the project gets
I have had trouble getting web pages to load within Cassini for about a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.