Displaying 20 results from an estimated 700 matches similar to: "Event.observe on IE"
2006 Mar 08
4
Event.Observer - (was: Ajax.Autompleter not working on IE)
See if I can stir up a little life with a demo. I can''t believe that
Ajax.Autocomplete doesn''t work on IE, so I *must* be doing something
wrong.
Trying to figure this out I added some alerts to control.js and it
seems that IE is not getting the onkeypress events.
So, here''s a demo:
http://hank.org/demos/form.html
That contains two fields with onkeypress events:
2006 Jan 23
1
autocomplete=off not working on Firefox
I noticed that the latest control.js disables auto complete:
this.element.setAttribute(''autocomplete'',''off'');
So I removed my inline "autocomplete=''off''" from my input fields.
But Firefox still auto completes.
Using the Firefox DOM Inspector I do see that it''s applied
by Ajax.Autocompleter as expected. The Inspector
2006 Jan 16
11
Preventing bubble
I''m trying to prevent double ajax requests when I have nested onclick
handlers.
I have a table with clickable column headings (for sorting by that
column).
I have onclick handlers on both the <th> and the <a> link so that
clicking anywhere on the table heading should work.
<th onclick="window.location.href=''http://foo?sort=foo'';">
2005 Dec 05
1
Scriptaculous conflict with TinyMCE
I''m using TinyMCE[1], a popular javascript WYSIWYG html editor. The
editor fails to work when I load Scriptaculous before it -- well
depending on the browser.
I can make my application load the javascript in a different order,
but just in case it''s an issue in scriptaculous I thought I''d report.
I have a few pages up -- I''d like to find out if anyone else
2006 Jan 18
6
Autocomplete related fields
I have a table that has city, state and postal code. I want to
auto-fill the city and state when a postal code is entered.
The city and postal code are simple text fields, but the state is a
drop-down list with abbreviations as the value, and the full state
name as the option text.
I assume with Ajax.Updater I could just return the HTML for both the
city and state fields -- including the entire
2007 May 13
2
prototype - get inputs()
hi,
i have the following function which is not working for me:
function uploadimg (theform,ajaxAction,ajaxTarget){
var imgDesc = theform.getInputs(''page1'', ''text'',''imgDesc'');
alert(imgDesc[0]);
defaultAction=theform.action;
defaultTarget=theform.target;
theform.action=ajaxAction;
theform.target=ajaxTarget;
theform.submit();
2005 Dec 14
1
[scriptaculous] scroll down to show full auto completion list (w/ possible patch)
Hi everyone,
lately I''ve implemented an auto completion textfield at the bottom of a
form. I was a bit bothered by the fact that the user would potentially
need to scroll down in order to see all the options offered by the auto
completion. I couldn''t find any information on how to auto scroll to the
auto completion list with bulit-in functionality so I modified
controls.js
2006 Mar 31
7
Reset events after ajax update
Avoiding real work I decided to try and clean up my html and remove my
inline onclick handlers for Ajax.Updater calls. Here''s the inline
method I''ve been using:
http://hank.org/demos/ajax-inline.html
Now, here''s using <script> sections to apply the behavior.
http://hank.org/demos/ajax.html (firefox only)
Since the links (tabs) are inside the
2006 Jun 15
3
RE: Yahoo!-like Eventobjectemulation/abstractioninPrototype?
This is obviously rough draft and not thoroughly tested, but it seems to
work. If you''d like, give it a try (load it after you load
prototype.js):
Function.prototype.bindAsEventListener = function(object) {
var __method = this;
return function(event) {
return __method.call(object, new SuperEvent(event || window.event));
}
}
var SuperEvent = Class.create();
2005 Dec 22
6
Scriptaculous and Prototype based Rich Text Editor
Hi Guys,
I'm currently using the Dojo Rich text editor on my site
https://wideword.net but am not 100% happy with it as I'm a prototype
kind of guy.
So I started writing this Rich Text Editor the other day on an
experiment. I used the In Place Editor as a template for it and have
gotten it to more or less work under IE and Gecko. Unfortunately it
still isn't working on Safari ( The
2006 Mar 07
11
maintaining application state/urls
Hi All
Not specifically a scriptaculous question, but I was wondering how
people were going about maintaining access to their applications via
standard urls.
Say for example I''ve a shop at www.shop.com, and its pure ajax to load
in products. Now customer A wants to show a friend a product on the site
- giving him the url www.shop.com and telling him to click on a series
of links
2006 Apr 02
13
autocompletion: hooking ''afterUpdateElement'' in Rails
Hi everyone,
I need to trigger a Rails action after the autocompletion is completed
(when the user has selected an option).
From the scriptaculous doc, I figured out ''afterUpdateElement'' is the
place to be but I wonder if/how and where I can hook my javascript code
to this event in Rails code (I''d like to keep using the helper, if
possible)?
I tried passing many
2008 Jan 28
6
cancelling form submit
Anyone know why my form would still submit in firefox but not in IE?
aspnetForm is the id of the form.
I get the alert, but the form still submits.
Event.observe(''aspnetForm'',''submit'',function(e){
alert(''submit'');
var t = $F(''ctl00_ContentPlaceHolder1_NewTag'');
2008 Mar 21
4
Prototype.js event.stop(event) FF2 not working
stop: function(event) {
if (event.preventDefault) {
event.stopPropagation();
event.preventDefault();
} else {
event.returnValue = false;
event.cancelBubble = true;
}
}
/* br original
stop: function(event) {
Event.extend(event);
event.preventDefault();
event.stopPropagation();
event.stopped = true;
}
*/
};
2007 Oct 29
1
Moving windows above GNOME top panel in Gutsy
When I enable compiz in Ubuntu Gutsy I can't move window titles
*above* the top panel. With compiz disabled I can grab a window in
the middle (Alt+left mouse) and move its title bar above the screen
showing just the bottom part of the window.
I assume this is a Compiz issue, since it only happens when enabled.
I've been looking for a config option that controls that -- is there a
way to
2007 Dec 28
3
fonts unreadable on resize
I have the "Resize info" feature enabled on my desktop and on my
laptop both running Gutsy.
on the desktop the fonts are impossible to read:
http://hank.org/resize.png
but are very clear on the laptop.
And tips to fix?
--
Bill Moseley
moseley at hank.org
2016 Nov 24
2
Implementing secondary quota w/ "Archive" namespace
On 24 Nov 2016, at 9.33, Mark Moseley <moseleymark at gmail.com> wrote:
>
> On Wed, Nov 23, 2016 at 6:05 PM, Timo Sirainen <tss at iki.fi> wrote:
>
>> On 23 Nov 2016, at 0.49, Mark Moseley <moseleymark at gmail.com> wrote:
>>>
>>> If I move messages between namespaces, it appears to ignore the quotas
>> I've
>>> set on them.
2017 Sep 28
2
Conditionally disabling auth policy
On Wed, Sep 27, 2017 at 10:06 PM, Aki Tuomi <aki.tuomi at dovecot.fi> wrote:
>
>
> On 27.09.2017 20:14, Mark Moseley wrote:
> > On Wed, Sep 27, 2017 at 10:03 AM, Marcus Rueckert <darix at opensu.se>
> wrote:
> >
> >> On 2017-09-27 16:57:44 +0000, Mark Moseley wrote:
> >>> I've been digging into the auth policy stuff with weakforced
2017 Feb 24
3
Director+NFS Experiences
On Thu, Feb 23, 2017 at 3:45 PM, Zhang Huangbin <zhb at iredmail.org> wrote:
>
> > On Feb 24, 2017, at 6:08 AM, Mark Moseley <moseleymark at gmail.com> wrote:
> >
> > * Do you use the perl poolmon script or something else? The perl script
> was
> > being weird for me, so I rewrote it in python but it basically does the
> > exact same things.
>
2017 Sep 28
1
Conditionally disabling auth policy
On Thu, Sep 28, 2017 at 9:34 AM, Aki Tuomi <aki.tuomi at dovecot.fi> wrote:
>
> > On September 28, 2017 at 7:20 PM Mark Moseley <moseleymark at gmail.com>
> wrote:
> >
> >
> > On Wed, Sep 27, 2017 at 10:06 PM, Aki Tuomi <aki.tuomi at dovecot.fi>
> wrote:
> >
> > >
> > >
> > > On 27.09.2017 20:14, Mark Moseley