ject, you'll get a nasty surprise. So always check if your
object is really an object. (I was bitten by this on several
occasions, and it hurt.)
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You received this message because you are subscribed to the Google Groups
"P
ou do, maybe you could try adding
them to a document fragment first, and then add the document
fragment to the table. Worth a try.
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You received this message because you are subscribed to the Google Groups
"Prototype & s
On Mon, May 9, 2011 at 15:12, sclaflin wrote:
> 1. I don't see any reason for the element = $(element) line, other
> than possibly for the return value;
It's probably there to cater for MSIE.
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You received this
to do with entered data, or if you'd like to inform the user
precisely what kind of data would be lost, or where on the page it is to be
found, or why it's would be so bad to lose it, you're out of luck.
This is all by design.
--
Bertilo Wennergren
berti...@gmail.com http://bertil
7;click', function() {
effect_1 = Effect.SlideDown('d1',{duration:1.0});
return false;
};
});
But that's just a very hasty sketch. Read up on "observe".
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You received this message
use this - in theory:
var div = $$('#errodlg')[0];
or
var div = $$('#errodlg').first();
or even
var div = $$('#errodlg').last(); // :)
Or will that throw an error if there is no element with that id? It's
unnecessary
anyway...
--
Bertilo Wennergren
berti...
HTML property of the HTML element goes
> pretty close) if they wished.
The Firefox extension Web Developer has the option "View generated
source", which actually does that. It can be quite handy at times.
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You rece
houpdelta wrote:
> I don't understand, I try to stop "Ajax.PeriodicalUpdater" but this
> not good.
> Why ?
> [...]
> onSucess : function (xhr) {
Try "onSuccess".
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You received
he capture phase, and that
is not supported by Prototypes "bind" and "on" functions.
Instead we have to use the basic Javascript "addEventListener".
If it turns out I'm wrong about this, I will be very happy.
--
Bertilo Wennergren
--
You received this message becaus
asic principles, which are not explained
in the Prototype documentation since it would then be huge.
--
Bertilo Wennergren
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prot
No. It always seemed really strange and unclean to me. So even if
it's not deprecated, a cleaner solution is most welcome.
> you can define it yourself if/when Prototype
> actually drops support for it (1.7 still seems to have it, but I bet
> the next major version aligns with ECMASc
On Tue, Feb 1, 2011 at 12:35, T.J. Crowder wrote:
> (now that `$break` has been deprecated).
"$break" has been deprecated? Where is that documented?
What are we supposed to use instead?
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You received this message be
On Wed, Jan 26, 2011 at 15:55, code_bloke wrote:
> Maybe I missing something here but I'm getting unexpected results
> observing the submit of a form.
>
> Given form and script below I would have expected that the form would
> not submit and the alert to be displayed, regardless of the means of
>
On Fri, Jan 21, 2011 at 11:10, stefan wrote:
> I've been using prototype for a while now and I quite enjoy it.
> However, it seems that with the recent upgrade from 1.6 to 1.7 the
> toJSON method on hashes broke (or the way that I'm using it is no
> longer supported). Since I could not find any i
can
certainly do it with Ajax.
https://developer.mozilla.org/en/DOM/File
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this gr
nting out this feature. I've been stupidly creating my
> own data structures to further describe DOM elements. Now I don't have
> to do that.
I use "store" a lot. It's fast, and seems very safe.
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You receiv
within, say, 100ms, in every modern browser in every kind of
computer under any kind of stress from other processes?
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us&qu
o we make sure?
There must be a better way. Or not?
Nothing to do with Prototype or scriptaculous, I know, but still...
--
Bertilo Wennergren
berti...@gmail.com http://bertilow.com
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.acul
I just wrote:
> Walter Lee Davis wrote:
>
>> On Sep 18, 2010, at 12:00 PM, Bertilo Wennergren wrote:
>>
>>> SInce 1.7RC2 was released in May "with the intent of putting out a
>>> final 1.7 release very soon", after which as far as I can tell not
Walter Lee Davis wrote:
> On Sep 18, 2010, at 12:00 PM, Bertilo Wennergren wrote:
>
>> SInce 1.7RC2 was released in May "with the intent of putting out a
>> final 1.7 release very soon", after which as far as I can tell nothing
>> has happened (complete silenc
, after which as far as I can tell nothing
has happened (complete silence on the Prototype blog since then), I
tend to regard the project as dead. Any information to the contrary
would be very welcome.
I did try RC2 shortly and found it not fit for actual use. Be aware.
--
Bertilo Wennergren
be
hould be easy to fix but checking for the MIME
type used, and skipping the upper-casing if it's not
"text/html".
--
Bertilo Wennergren <http://bertilow.com>
--~--~-~--~~~---~--~~
You received this message because you are subscribed
problem by hacking the code
in "builder.js" (removing a couple of ".toUpperCase()"),
but I'm sure those are there for a reason, and some
things will probably break (probably in MSIE...).
Is this a known problem? Is there some kind of approved
and safe solution?
I use Prot
23 matches
Mail list logo