similar to: In Place Editor and Empty Fields

Displaying 20 results from an estimated 8000 matches similar to: "In Place Editor and Empty Fields"

2006 Sep 25
3
In place editing an empty field
I am trying to use the Scriptaculous InPlaceEditor and in some cases the field will be empty. That is, the field currently has no value but the user wants to enter a value. The InPlaceEditor appears to not work in this case. Other identical fields (except wit different ids and some value) do work. I have tried using a nonbreaking space ( ), and this does cause the editor to appear,
2005 Oct 01
8
Ajax.InPlaceEditor on Safari & Firefox
Hi, I''ve downloaded the latest svn trunk and was glad to see that Ajax.InPlaceEditor forms can now be correctly submitted on Safari as well, with the server response being correctly displayed as well. The problem is, however, that clicking again on the same element (after sumbitting it first) will duplicate the submit form. The next attempt will triplicate it etc, etc... Could
2007 Jan 11
2
In-place editor for a whole form?
I want to implement in-place editing for a hierarchical structure where the nodes are not simple text fields, but need to be represented by at least two input elements. The Rails helpers only support in-place editing for a text field, scriptaculous''s controls.js beyond that implements support for an in-place editor containing a select element. I need an editor where I essentially
2006 Jan 20
47
SQL Server datetime error
i have a problem with the datetime format of rails. i am unable to save a dataset to the db. here''s the error message -- the original error message was in german, so i translated it -- i get: DBI::DatabaseError: Execute OLE error code:80040E07 in Microsoft OLE DB Provider for SQL Server Couldn''t convert a char-Datatype to datetime HRESULT error code:0x80020009
2007 Mar 15
8
in-place-editor
hi @ all how can i save my edited text in the database with php? thanks for your support --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send
2005 Sep 01
2
FW: externalControl for in-place editing Browser in-compatibility
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Anyone have any ideas on this one, it appears that that $() is not working to get object by id in Mozilla based browsers. Does anyone know how to fix this? I am a n00b to javascript. Is this a bug or am I doing something wrong? Can someone please confirm this. - -----Original Message----- From: Stephen Major [mailto:smajor@gmail.com] Sent:
2008 Jun 06
2
Scriptalicious: Ajax Inline Text Editor
Hi, I''m just starting out with Scriptalicious + Prototype, and I''ve run into a problem. I''m trying to create an Ajax.InPlaceEditor that combines the custom size textbox, and the custom parameter (from the examples in the scriptalicious documentation) http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor I''ve tried a couple different methods (one of
2006 Jan 14
3
In place editing and external control
Dear all, First I''d like to thank authors for so nice Scriptaculous and Prototype libraries, which helped me already a lot! I have question regarding externalControl parameter in InPlaceEditor. If I understand correctly, I can use that to have one image as a trigger to enter edit mode? I tried with below code but without success: <span id="id1">My text</span>
2006 Feb 27
1
InPlaceEditor on an empty div
Hi, I am wondering what the trick is to use InPlaceEditor on an emtpy div. I have a set up where one div contains a question, and next to it is an emtpy div which should be used for InPlaceEditor. The user clicks on a button "answer" and that activates the InPlaceEditor in the appropriate div. This doesn''t work, however. The div which should use InPlaceEditor must
2006 Jan 09
6
inPlace Editor
HI, I am a new to the group. I have run into the following issue. The following works fine <h1 id="tobeedited">To be edited</h1> <script> new Ajax.InPlaceEditor($(''tobeedited''), ''_ajax_inplaceeditor_result.html'', { ajaxOptions: {method: ''get''} }); </script> But I want to pass some more
2006 May 24
7
Using inline editor without requiring a URL
Hi, I was wondering if anyone has implemented the inplace editor without the need for the URL. I have tried this but run into a problem in that the ''saving...'' text in shown for ever and the label is no longer editable. Can I also confirm that my idea of the callback function is something that runs before the value is passed to the URL (if you were to use one). What might be
2006 Jan 18
5
Perform action after in-place edit
I want to be able to call an action after performing an edit using the in-place editor macro. I want to update multiple divs so I was thinking about using an RJS template. However, I can''t figure out how to trigger another action after the method created by in_place_edit_for runs. Is there is an option on Ajax.InPlaceEditor where I can inject some Element.update calls? Thanks, Shane
2005 Oct 26
2
Troubleshooting inplace editor
I can''t get the inplace editor to do anything for me. The output appears as regular formated, unclickable text. Maybe I am missing something simple. 1. I just downloaded script.aculo.us <http://script.aculo.us> 1.5_rc3 and copied it to my javascript folder. 2. To set up a simple test, I created a new test page containing only the copied from demo1 from the script.aculo.us
2006 Nov 17
4
set empty values as null in the database
Le''s say that I have a table called people and the column middle_name is nullable. If the user enters say blank or empty space then in the database it is recorded as empty space. I would like in all my models all empty spaces to be recorded as null. I guess I can write a plugin which will do so for all the models but I''m sure something like that should already be existing.I
2007 Apr 13
2
inplace editor and textarea
Hi, I have an inplace editor and I can access the innerHTML value of the created form. However the innerHTML gives "<textarea>....</textarea> ..." How can I access the textarea value? I tried to do innerHTML.textarea.value but it didn''t work. Any ideas will be appreciated. Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2005 Aug 21
0
[PATCH] in-place-editor, AJAX loading
I sent this on Friday but somehow managed to email it to the wrong email address! ---- Attached is a patch to add external (AJAX) loading of content to the InPlaceEditor. 2 extra options have been added: loadUrl: a URL to load the content from. If this is present, it will be used instead of the innerHTML. fieldId: I had to add this so we know what the text field is when we''ve
2007 Jul 19
3
InPlace[Collection]Editor rewrite: it's in trunk!
Hi all, For those of you who don''t follow Thomas Fuch''s blog, know that a complete rewrite of InPlaceEditor / InPlaceCollectionEditor just made it into the trunk. You''ll find all the juicy details on Thomas'' post: http://mir.aculo.us/2007/7/17/in-place-editing-the-summer-2007-rewrite Do note that this is my rewrite, so if you find bugs etc., don''t
2006 May 11
2
How do you make in_place_edit fields appear when empty?
Here''s a simple one... When using in_place_edit fields, they don''t appear unless they already have a value. How can I get similar functionality when they are empty? Thanks, Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060511/a98640cf/attachment.html
2006 Jan 24
0
In Place Editor help
Can anyone suggest a way to tell the InPlaceEditor not to break my text up into multiple lines with new lines in them? It''s breaking the text up around 72 columns, but I don''t see a way from the documentation to prevent this. Thanks, Jamie
2005 Jul 18
13
in place text edit
I''ve written a pretty nice Flickr style in place text edit JavaScript control based on the Script.aculo.us library. API is like this: <span id="editme">Edit me!</span> <script> new InPlaceEditor($(''editme''), ''url/to/action''); </script> Background changes to gray as mouse hovers over the text (like flickr) and the