I'm using the latest RC3. Chrome sends ajax request twice, and Opera -
even 3 times.
Chrome 6.0.742.63, Opera 10.63 - both on ubuntu linux, but on windows
results are the same.
Here's code:
...
this.options.comm_send.observe('click',
this.sendComment.bindAsEventListener(this)); //binding onclick
Hi list. I'm trying to extend event object.
Let's say that i want to observe 'custom:myevent' event.
How should I name it?
Object.extend(Event, (function(){
return {
custom_myevent: function(element, eventName, rules){
//some stuff
/*
i could
Sorry, very stupid question. I found.
On Dec 10, 7:25 pm, Rauan Maemirov <[EMAIL PROTECTED]> wrote:
> Hi list. I'm trying to extend event object.
>
> Let's say that i want to observe 'custom:myevent' event.
>
> How should I name it?
>
>
Hi list. I'm trying to prevent Opera's image save dialog when clicking
Ctrl + mouseclick. e.stop() doesn't help. It's just don't get to
observer handler. Does anybody have workaround for this?
--~--~-~--~~~---~--~~
You received this message because you are subscribe
t;
> Can you post a *minimalist* example demonstrating the problem to
> Pastie?http://pastie.org
> --
> T.J. Crowder
> tj / crowder software / com
>
> On Dec 12, 9:57 am, Rauan Maemirov wrote:
>
> > Hi list. I'm trying to prevent Opera's image save dialog when
I'm loading all my scripts almost at the bottom of html and right
after them observing 'dom:loaded' event. But it initializes only when
all content is loaded (including all images). Is it okay? How can i
avoid that waiting all images loading?
--~--~-~--~~~---~--~~
Y
is
> visible. Depending on what else you have going on in the way of
> external scripts, you may need to move them up before that point, but
> you should be able to do all sorts of things before the page becomes
> fully visible.
>
> Walter
>
> On Dec 12,
Why not to do it on your own? E.g. smth like this?
var st = result.toLowerCase().indexOf(keyword.toLowerCase());
if (st != -1) {
var output = result.substring(0, st) + '' +
result.substring(st, st + keyword.length) + '' +
result.substring(st + keyword.length);
It's very simple to do for some html object as ancestor, but not for
whole body.
What I'm doing wrong?
$(document.body).observe('focus', function(e) {
if (!(elem = e.findElement('a')))
return;
elem.blur();
});
The main aim is to avoid effect of "wrapping the link
t; better, as you want to really observe each link, not the whole body. I
> mean, the first example is saying, "Observe a focus to the body".
> That's not really helping at all with the focus of any specific link,
> if you see what I mean.
>
> On Sep 18, 11:51 am, Rauan
ocus event instead of the
> click event works.
>
> --
> david
>
> On 18 sep, 13:15, Rauan Maemirov <[EMAIL PROTECTED]> wrote:
>
> > I'm using 2nd example. Just thought, that 1st would be more
> > elegant. :))
> > But if I'll add link dynamica
First result in google search
http://xavisys.com/2007/03/using-prototype-javascript-to-get-the-value-of-a-radio-group/
I had similar problem earlier.
On Sep 29, 6:21 pm, davidascher <[EMAIL PROTECTED]> wrote:
> I am new to this and trying to find my way into this the old-fashioned
> - by modify
Just to make things clear, it's not my post. :)
U could use events delegation for observing multiple radio buttons.
Take a look at Christophe Porteneuve's presentation from @media Ajax.
It's described very good there.
On Sep 29, 8:26 pm, davidascher <[EMAIL PROTECTED]> wrote:
> I had already see
13 matches
Mail list logo