Je commence à apprendre MooTools et jusqu'à présent je l'ai trouvé vraiment difficile comment faire un code similir à la version jQueryfonction jQuery pour MooTools
<span id="clickme" onclick="myFunction(5,46,'add')"/> I'm a span</span>
function myFunction(id,iduser,type){
// ajax request with this values
}
Dans MooTools
window.addEvent('domready', function() {
$('clickme').addEvent('click', function()
{
// ajax request ...
});
}
Comment est la première "version" jQuery de quelque façon? – elclanrs
quelle est la question ici? –
Comment faire la même chose dans MooTools –