The INPUT field is in a FORM field. Isn't it valid to have an INPUT
field in a FORM tag?
Cheers,
Jon
On 10/28/05, Jay Levitt <[EMAIL PROTECTED]> wrote:
> 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
> val
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
> Really? The use case might not be common but it seems like it should
> be easy to design the code so it's supportable. I assume after the
> user types something in you'll have that in a variable then execute
> the Ajax stuff. Wouldn't it be simple to just short circuit the ajax
> call and return
On 10/27/05, Jon Tirsen <[EMAIL PROTECTED]> wrote:
> This should be possible to do with some heavy hacking of the
> InPlaceEditor. Essentially just strip out the Ajax calls from it and
> instead save the new value in a field.
I'll try that.
> This is a pretty special requirement so I don't think
Jay Levitt wrote:
Jay Levitt wrote:
If anyone's curious, the degenerate JS fail case is below. I'll
submit a Firefox bug in the a.m. after I have another look. You can
call it with onclick='enterEditMode(this)'.
This is now bug # 31487 in Mozilla bugzilla:
https://bugzilla.mozilla.org/sh
This should be possible to do with some heavy hacking of the
InPlaceEditor. Essentially just strip out the Ajax calls from it and
instead save the new value in a field.
This is a pretty special requirement so I don't think we'll at this
stage try to support it in the standard implementation.
On 1
For a start, try this page (with Firefox):http://www.din.or.jp/~hagi3/_javascript_/JSTips/Mozilla/Samples/KeyEvent.htmThomasAm 27.10.2005 um 19:34 schrieb Michael Ladum: Hi, Could someone please give me a quick and simple example of using various keys with the event object in prototype? I am not re
Michael,
Thanks, but that's not quite what I was looking for. I want a way do
zero ajax calls -- basically, edit the field and get the new value in
a variable without hitting the server (I have a blank URL parameter).
Is that possible?
Thanks,
--Bill
On 10/27/05, Michael Krog <[EMAIL PROTECTED]>
Hi,
Could someone please give me a quick and simple
example of using various keys with the event object in prototype? I am not
really sure how to use these.
Thanks
Brgds, Michael
___
Rails-spinoffs mailing list
Rails-spinoffs@lis
Thanks for the feedback, the bind(this) worked like a charm, I was
beating my head against my monitor trying to come up with a solution.
I'm confused, though, as to why javascript loses the reference to
"this" without that bind method can somebody explain? Also why doesn't
onSuccess: this.switchP
Hi. I'm trying to make a 'special' dragable list with script.aculo.us.
Special in that only one of its elements can be draged.
I first tried to use the 'only: someclass' for the class that I wanted to
move in the Sortable.create method, but that disabled movement.
I've never even tried java
Francois Beausoleil a écrit :
Hi !
Add a container element above the one you want to replace, and make
the updater target that instead ?
I already done that, but I don't like it much. That's why I asked :)
Thanks anyway
Simon
___
Rails-spinoffs m
Nobody answered my questionseems like no one ever faced this problem
Either no one is playing around with xmlResponses (just using Ajax.Updator
always I guess :)
or it was too easy for everyone.
Anyways, here is an article that explains the problem beautifully and gives a
solution too.
Hi !
2005/10/27, Simon Arnaud <[EMAIL PROTECTED]>:
> Is there something equivalent to Ajax.Updater to replace the element,
> intead of replacing it's content ?
>
> An option to Updater, or another function ?
Add a container element above the one you want to replace, and make
the updater target th
A few thoughts :
1) You need to bind the object to get it to work:
onSuccess: this.switchPrompt.bind(this),
onFailure: this.dontCheck.bind(this)
that will fake out Javascript and set up the "this" reference to work
correctly for you I think.
2) On another note, I've noticed that it's appropri
Is there something equivalent to Ajax.Updater to replace the element,
intead of replacing it's content ?
An option to Updater, or another function ?
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailm
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 = {
initiali
Wow! Yeah, it crashes 1.0.6 on Mac too. I'll look into it.
On 10/27/05, Thomas Fuchs <[EMAIL PROTECTED]> wrote:
> The patch has been applied.
>
> Btw, the unit test now crashes Firefox 1.0.4, I can consistenly
> reproduce this here.
>
> Cheers,
> Thomas
>
> Am 26.10.2005 um 23:31 schrieb Jon Tirs
The patch has been applied.
Btw, the unit test now crashes Firefox 1.0.4, I can consistenly
reproduce this here.
Cheers,
Thomas
Am 26.10.2005 um 23:31 schrieb Jon Tirsen:
Oh yeah! That works perfectly! Thanks Michael!
Once again, use the latest patch from here:
http://dev.rubyonrails.com
Hi Bill.
There should be a getText-value on the editor.
var field=new Ajax.InPlaceEditor('editme', '', {onComplete:readValue});
function readValue(){
alert(field.getText());
}
Bill Lynch wrote:
All,
The Ajax.InPlaceEditor control is nice but I'd like the ability to
read the changed
Hello,
I'd like to know if this is possible. Say you have a sortable list like so:
one
two
three -- A
four
five -- B
Is there any way to restrict the movement of "three -- A" and "five --
B" such that they never cross? For example, you could click on five
and move it above four
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
first of all, hi! you've got reaaaly nice scripts here
and i'm having fun just mixing and matching one with
another!
well then here's the situation.
i tried to use a div's on mouse over and mouse out to
call blind down and blind up effect respectively
inside cells in a table. works fine AND beauti
23 matches
Mail list logo