All Questions
66
questions
0
votes
1
answer
467
views
Mootools -- call class function from bound css class results in 'not a function' error
Using Mootools 1.3.2
Code is as follows:
var DNReportAbuse = new Class({
Extends: DNUserDialog,
comment_id: null,
container: null,
initialize: function(classname)
{
var bindclass = $(document....
0
votes
3
answers
1k
views
Javascript double event firing unwanted
I want to perfom the same action for 2 different events firing. The problem I have is that one of the event fire the other. I'm using javascript and Mootools, also events are set on an 'input' element,...
0
votes
2
answers
2k
views
MooTools events not firing in IE8
I have a Mootools asset created like so:
// Create a new asset
var asset = new Asset.image(path, {
title: this.language.download,
events: {click: this.download.bind(this, link)},
});
I have ...
0
votes
1
answer
282
views
MooTools: Attaching to destroy() event
There's a div element on my page. When the page loads, I want to specify somehow that after destroy() is called on this element (based on what the user does in the UI), that a function I specify fires....
0
votes
2
answers
2k
views
How can I chain click events with Mootools so that they execute in order?
I have a series of buttons that fire the list function when they are clicked. The list function itself contains an AJAX request and a bunch of other stuff before and after which loads in a separate ...
0
votes
1
answer
1k
views
Remap Enter keydown to trigger Shift+Enter in JavaScript
I'm using Mootools, but a generic answer is fine.
I would like to remap the 'Enter' key in a web application.
When they hit 'Enter' it should react as though the 'Shift-Enter' has been pressed.
I ...