Questions tagged [jeditable]

Jeditable is a jQuery plugin that allows users to edit page contents "in place".

Jeditable is a jQuery plugin that allows users to edit page contents "in place". Contents can be edited using plain textfields, textareas, comboboxes and jQuery Datepickers (as an extension,not natively supported).

Project page: http://www.appelsiini.net/projects/jeditable

GitHub page: https://github.com/tuupola/jquery_jeditable

511 questions
15
votes
6 answers

how to get out of jquery (jeditable) mess

I am not very good at jQuery but decided to use jEditable plugin for my site because I thought it looked good and solved the purpose. However, I am in a bit of a tangle now. I used this plugin to edit data and the edited data is sent to the DB and…
roy
15
votes
4 answers

JEditable, how to handle a JSON response?

Right now, the server response I'm working with sends back a JSON response like this: {"status":1} After saving, jeditable places the actual response: {"status":1} on the page. Anyway to get around this issue?
Sam3k
  • 960
  • 1
  • 11
  • 22
14
votes
4 answers

Jeditable - Activate edit of X by clicking on Y

I'm trying to use Jeditable as an inline editing solution. The default behavior (click on the element to edit it) works quite well, but I would like to activate an element by clicking on another element. For example clicking on a.activateEdit will…
yoavf
  • 20,945
  • 9
  • 37
  • 38
14
votes
5 answers

JQuery JEditable - How to Add A Visible Edit Me Button?

i love this plugin but the reality is that most people won't realize at first that they can click on the text to edit. Ideally, it would be nice to add a Button next to the text or a simple [Edit] link that the user clearly sees but never gets…
Sam3k
  • 960
  • 1
  • 11
  • 22
13
votes
5 answers

Ruby on Rails and jeditable (jquery)

Has anyone gotten the jquery plugin jeditable to run properly in a Rails applications. If so, could you share some hints on how to set it up? I'm having some trouble with creating the "submit-url". IIRC, you cannot simply call ruby code from within…
Sebastian
  • 2,889
  • 4
  • 34
  • 37
11
votes
1 answer

jeditable textbox width

is there anyway to make the textbox bigger than the text when using inline replace with jeditable. I want to give the user room to add new text on top of the existing text.
leora
  • 188,729
  • 360
  • 878
  • 1,366
10
votes
2 answers

invoke cancel on jeditable

is there a way to invoke "cancel" on a jeditable area from an external call? (instead of clicking cancel) - basically to close the textarea.
raklos
  • 28,027
  • 60
  • 183
  • 301
10
votes
2 answers

How to programatically select all text inside a TinyMCE editor

I'm looking for a way to programatically select all the content inside a TinyMCE editor instance. The reason I need this is that I'd like it if all the text inside the editor was selected, as soon as someone clicks on it (I'm using TinyMCE in…
Edan Maor
  • 9,772
  • 17
  • 62
  • 92
10
votes
6 answers

Validate Jeditable field

I'm using Jeditable (posting to CakePHP) for input on my page. I want users to only fill in numbers in the Jeditable fields, so my idea was to also use the jQuery validation plugin to validate if only numbers are used, I already use this in other…
JanWillem
  • 352
  • 1
  • 2
  • 10
9
votes
5 answers

Jeditable with jQuery UI Datepicker

I need to have a click to edit element on a page, that will in turn invoke an instance of the jQuery UI Datepicker. Currently, I'm using JEditable to provide the in place editing, which is working fine. However, I have a date control input that I…
BrynJ
  • 8,322
  • 14
  • 65
  • 89
8
votes
4 answers

Tab key with JEditable fields

I have a page using JQuery and Jeditable to create editable text elements on the page. While editing an element, I would like to be able to tab from one element to the next. I am unsure of how to: Use jeditable or jquery to capture the tab key…
SylvanK
  • 366
  • 3
  • 10
8
votes
5 answers

jeditable encoding & turns into & when editing

I'm using jeditable and having some encoding issues. If I enter &, save, and then try to edit it shows up as &. Easily reproducible here: http://www.appelsiini.net/projects/jeditable/default.html Edit the Normal textarea and enter &&&, save and…
AnApprentice
  • 108,152
  • 195
  • 629
  • 1,012
8
votes
2 answers

How to access old and new values before submitting with jeditable

I have a field being updated by jeditable. I want to output a warning message before submitting updates if the value is being reduced (which would result in data being lost), but not if it's being increased. This seems a good candidate for…
petercoles
  • 1,732
  • 13
  • 20
8
votes
2 answers

JQuery JEditable - How to Disable on click editing

I was wondering if you can stop text being editable on click? I have a separate edit button to make the text editable and that's the only way that I want the user to be able to edit the text, so want to turn off the on click editing? Any ideas?
user406307
  • 81
  • 1
  • 2
7
votes
8 answers

Jeditable inserts extra spaces around the text in text area

Jeditable is inserting extra spaces around the actual text in a text area for me when I click to edit some text. How do I trim this or actually fix this?
Chirantan
  • 15,304
  • 8
  • 49
  • 75
1
2 3
34 35