All Questions
3
questions with no upvoted or accepted answers
0
votes
2
answers
705
views
Event click trigged twice though preventdefault is set
Some had this problem but I did not see any answer that fits mine.
Here is the html :
<div id="page">
......
<ul>
<li role="presentation">
<a id="selection"...... &...
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
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 ...