similar to: InPlaceEditor and Json in onComplete

Displaying 20 results from an estimated 1000 matches similar to: "InPlaceEditor and Json in onComplete"

2006 Jul 11
0
Ajax.InPlaceEditor + onComplete
Hello, I am trying to use the helper "in_place_editor_field" and pass an onComplete to it, but it seems that I can''t pass that :success or :onComplete because they become attributes of the span on to of the Javascript: Here is my desired Javascript outcome: new Ajax.InPlaceEditor(''div_name'', ''link_name'',
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
2005 Nov 20
1
Deleting InPlaceEditor
Howdy, I have created several InPlaceEditor''s for each of my menu items. This way i can easily rename them, however when i rename a menu item, it renames several id''s in the document. I then need to adjust an InPlaceEditor to point to the new id. It seems an inplaceeditor cannot be changed, so i have been tryiny to delete it, then create a new one. How do i delete an
2006 Mar 03
3
Ajax.InPlaceEditor - disabling the yellow highlight?
Is there a way to disable Ajax.InPlaceEditor''s yellow rollover highlight?
2006 Jan 25
10
Ajax.InPlaceEditor onSuccess: ???
I''m looking for onSuccess: in Ajax.InPlaceEditor, but it doesn''t appear to exist. onComplete isn''t what I need because I only want my callback on success. Is there a way to do this? Thanks, Jamie
2005 Dec 07
5
InPlaceEditor update of page contents ?
Hi all ! InPlaceEditor refreshes only the element that was updated. Is there any way to make it update tons of other stuff ? I have a table where changing a value in it causes changes in most other cells (weight to percentage to money). Thanks for any help ! -- François Beausoleil http://blog.teksol.info/ _______________________________________________ Rails-spinoffs mailing list
2007 Jul 10
9
Other parameters on InPlaceEditor
Hi to all, I have a doubt on like passing other URL parameters to InPlaceEditor function. For Ajax.Updater I can use "parameters:", but for InPlaceEditor (or InPlaceCollectionEditor) I cannot use "parameters". How I make to pass other parameters to the page that callback? A sample code: ---------------------------------- var editor= new Ajax.InPlaceCollectionEditor(el, url,
2006 Jan 05
6
InPlaceEditor and textarea
Hi to all. First of all exchuse for my bad english I try to use Ajax.InPlaceEditor with a textarea: ################## new Ajax.InPlaceEditor($(''ipblock''), ''tools/admin_save.php'', { ajaxOptions: {method: ''get''}, rows:10, cols:20, callback: function(form, value) { return ''op=ipblock&value='' + value},
2005 Oct 27
5
Save output of Ajax.InPlaceEditor to a variable?
All, The Ajax.InPlaceEditor control is nice but I''d like the ability to read the changed value. Basically, I''m creating a form with editable elements but it''s only when I do the submit that the form elements are submitted. I''d still like to allow in-place editing but what I''d like to do is get the new value and throw that in a hidden form variable Is
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question.. I often crash my Safari when using ''Enter'' on InPlaceEditor''s for submitting. Works fine on firefox(win & Mac) - no javascript errors. Anyone else seen this behavior? (Maybe it is just my alterings of InPlaceEditor :-) Best Regards Michael Krog
2006 Jan 23
0
InPlaceEditor with text areas--inserting new lines
Hi: I just started using IPE with an app that has a listing of FAQs that I want to edit in place. What I''ve discovered as I started wiring this up is that when I click to edit, the text areas are inserting new lines every 70-something characters. My data doesn''t have these new lines. Is there a way to change this behavior? Thanks, Jamie
2008 Jan 31
7
Ajax.InPlaceEditor via PHP via prototype widows class = HELP :-)
my window comes up fine and builds a page from some PHP which is all kosher. this is what the source of the "window" looks like: ----------------------------------------------------------------------------------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2006 Mar 02
0
[PATCH] small correction to allow editing of html with Ajax.InPlaceEditor
Ajax.InPlaceEditor will not let you edit HTML as it strips all tags coming from the loadTextURL Ajax callback. Bug or feature? I say bug. The patch below fixes this. -Rob --- js/controls.js.old 2006-03-02 13:46:26.000000000 +0000 +++ js/controls.js 2006-03-02 13:46:29.000000000 +0000 @@ -628,7 +628,7 @@ onLoadedExternalText: function(transport) { Element.removeClassName(this.form,
2006 Oct 20
1
Event.observe vs. element.onxxx =
What are the pros and cons of using Event.observe vs. element.onxxx = somefunction ? I noticed that a lot of sau code doesn''t use Event.observe. For example, InPlaceEditor uses this.form.onsubmit = this.onSubmit.bind(this); In my code I''ve made a habit of using the equivalent (for example): this.onSubmitListener = this.onSubmit.bind(this);
2007 Feb 12
6
prototype.js and different browsers
Hi I''m currently learning how AJAX is working and found prototype.js interesting. But I have some issues that might be because of misusage: http://brasilia.nersc.no/test/PyTest/AJAX.html When I use this in Firefox2 it correctly fills the first select, using opera9 it is filled, but it just shows a list of "blank" options (no description), and in IE6 it doesn''t get
2007 Apr 09
0
Unobtrusive IPE -- comments, please
I just coded an unobtrusive In Place Editor and wanted to get some review and comments for it. Anyone spot anything obvious that I could do to streamline this? Thanks, Walter <script type="text/javascript" charset="utf-8"> var rightClick = function(e){ Event.stop(e); var editListing = new Ajax.InPlaceEditor("listing_body",
2005 Oct 25
24
InPlaceEditor scrolls to top in Firefox?
When I click an InPlaceEditor field in Firefox 1.0.7, the page scrolls up to the top. That''s disconcerting, and often ends up with the editable field out of the viewable pane. I can duplicate this on both Mac and PC. Is there a way to prevent this? Even the demo at http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor does this. Jay Levitt
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 (&nbsp;), and this does cause the editor to appear,
2005 Dec 21
0
Prototype: correct useage of onComplete with Ajax.PeriodicalUpdater
Hello all, I know it''s a Prototype question, but I hope someone can tell me what I''m doing wrong (I hope Prototype gets documented soon ;-( Problem: using a onComplete callback with Ajax.PeriodicalUpdater (using scriptaculous 1.5 with Prototype 1.4) Works: function fooBar() { Element.hide(''foobar''); } new
2006 Oct 04
0
onSuccess and onComplete Prototype callbacks
Hi everyone, The onSuccess callback gets fired when HTTP status code is 200, and onComplete gets fired AFTER onSuccess/onFailure when the browser has finished handling the request, i.e. when the DOM is ready, right? So my question is where to put code that MUST ONLY be executed if HTTP status code is 200 AND Ajax.Request was called with option ''evalScripts: true''. The code in