mootools1.12

mootools / class / objectinstance doesn't work

Hey. I have no idea why i get a 'b' and not an 'a' when i call a.get(). Can someone help me? var tclass = new Class({ initialize:function(n){ this.options = Object.extend({'name' : n}); }, get:function(){ return this.options.name; } }); a = new tclass('a'); b = new tclass('b'); a.get() // b ...

Squeezbox and Mootools help

Hi I have this piece of code. It works but the problem is the second instance of a function call is not working. On Dom ready, we call a function. When user submits a form, we open the squeezbox and then call this function to update a div. here it fails. Help me fix this code. window.addEvent('domready', function() { var contai...