Displaying 20 results from an estimated 1000 matches similar to: "InPlaceEditor scrolls to top in Firefox?"
2005 Oct 28
6
InPlaceEditor: XHTML validation
It''s not a critical bug by any means, but shouldn''t InPlaceEditor put
DIV tags around the INPUT field? From what I can tell on the W3C
validator, INPUT has to be in a block-level tag for XHTML. Of course,
there are probably a zillion other things that wouldn''t validate, but
every little step helps...
Corollary question: Anyone know how to see what contexts a tag
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
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
2005 Sep 01
1
FW: In-place editor inside a Draggable
I was able to do a cheap workaround
By putting this:
this.editField.focus();
at the end of the enterEditMode: function()
this still does not allow highlighting with the mouse. Also if there are
regular forms in a draggable the end user is screwed especially when using
firefox.
-----Original Message-----
From: Stephen Major [mailto:smajor@gmail.com]
Sent: Thursday, September 01, 2005 3:28 AM
2005 Aug 29
9
can a class find out it''s instance name?
Hi friends - a javascript question....
Does the prototype object add some way for a class to find out the
variable name of its instance variable?
Or does javascript have some built in way to do this?
This is confusing to describe - but if I define a variable as some
object:
var myVariable= new Widget(''fdfa'');
can some built-in method inside the Widget class be
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 Sep 21
2
Result Documents XML or JSON?
My Java servlets can generate both JavaScript objects, like
JSON, and XML. I can generate both pretty easily.
What''s best practice for AJAX responses? Return scripts to be
evaled by the Ajax control, or return XML documents and iterate
them using XML DOM?
Thanks.
--
Alan Gutierrez - alan@engrm.com
- http://engrm.com/blogometer/index.html
-
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya,
I''ve just released script.aculo.us V1.5_pre1.
Please give it a try!
Important new stuff (since V1.1b1):
* Added a main scriptaculous.js file to load in the other libraries
transparently.
* Fixed a condition where standard a href=xxx links wouldn''t work in
autocomplete results. These do now, the onclick event is not
cancelled. [thx to Jasper Slits]
* Added
2006 Jan 27
2
Position.clone() duplicate
Haven''t seen anyone ask about this yet...
why are there 2 Position.clone() methods in Prototype.js? It seems that
the second would overwrite the first, and the second has lots more
options. Am I missing something?
Thanks,
rahul
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Aug 23
2
using the evalScript option on Ajax.Updater
Hi all,
I''m having trouble with the evalScript option on the Ajax.Updater. I''ve
removed everything except for the ajax call and a simple alert to try
and debug it. It doesn''t appear that the regex is finding my JS in the
response...
I''m doing an update request and the response is coming back correctly to
the updateConent function as this string:
<script
2005 Aug 01
2
function.prototype.bind return value?
Quick question - how come the function.prototype.bind doesn''t allow for
return values? Am I missing some basic understanding of how this works?
I searched and couldn''t find an answer.
Specifically, I''m binding an object method to an existing form''s
onSubmit, but it still actually submits the form, refreshing the page -
which is not what I want.
If change
2005 Dec 12
7
possible opera+prototype bug in evalscripts?
Hi all,
I use the ajax updater with evalscripts=true.
When I load HTML with included <script> tags, I get this error in Opera 8.51:
------------------- snip -----------------------------
http://ccml.uni-weimar.de/
Timeout thread: delay 10 ms
Error:
name: EvalError
message: Statement on line 258: Illegal use of eval
Backtrace:
Line 258 of linked script
2006 Mar 31
3
refreshing JS libraries on client?
Hi folks,
So I''ve got this app built on prototype, with a bunch of extra JS
classes to do what we want. Now the problem is, when I make a change to
one of those JS files (or an upgrade to prototype itself), how do I
ensure that the client browsers refresh their cache with the latest JS?
Clearly I want the browse to cache the large JS files, but I also want
that cache to expire at
2005 Oct 27
5
Problem passing event object
Hi all,
I''m having a problem with an Ajax.Request. I can''t figure out how I
can pass an event (an onclick on a checkbox) which causes the Ajax
Request, to be recognized in an onSuccess function. Here''s my
simplified code:
var RequiredField = Class.create();
RequiredField.prototype = {
initialize: function(chkbox) {
this.chkbox = chkbox;
this.chkbox.onclick =
2006 Apr 21
1
how-to pass other values to InPlaceCollectionEditor?
Hi,
I am trying to pass others paramenter to the function
InPlaceCollectionEditor, but I think that is not possible
I have modified some rows controls.js to line 782 from:
#######################
this.editField = this.cached_selectTag;
if(this.options.loadTextURL) this.loadExternalText();
this.form.appendChild(this.editField);
this.options.callback = function(form, value) {
2006 Jun 12
2
in_place_editor consumes html tags?
I''ve got a bog-standard view which displays textilized data. In the same
view, I have an in_place_editor which uses load_text_url to bring in
non-textilized data when editing.
Now, if I have html tags in the data loaded from load_text_url, they
appear to go missing. I can see the tags in the output from my
controller method using the console, but the tags are not shown in the
2006 Mar 07
6
[PATCH] Allow Ajax.InPlaceCollectionEditor to load collection externally
Attached is a patch to allow Ajax.InPlaceCollectionEditor to load the
collection using AJAX.
It adds a new option, loadOptionsURL, which is the URL used to load the
values over the interweb. It expects the server to return
<option></option> values. If one of them has a selected="selected"
attribute, it will probably be pre-selected. Not tested that though.
Also only tested
2006 Apr 14
6
character encoding in ajax submit
Hey all,
Anyone got some quick advice on international character submission via
Prototype''s Form.Serialize?
The base scenario:
I set the charset on my page to ISO-8859-1, which seems to be what
everyone uses. If I submit a regular form with a standard webpage, I
get international characters (like an accented "e", or and AE legature)
encoded as 1-byte ascii code
2010 Jan 31
1
RCurl : limit of downloaded Urls ?
Dear Rexperts,
I am using R to query google.
I am getting different results (in size) for manual queries and queries sent
through "getForm" of RCurl.
It seems that RCurl limits the size of the text retrieved (the maximum I
could get is around 32 k bits).
Any idea how to get around this ?
Thanks in advance
[[alternative HTML version deleted]]
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