Hello, i'm using mootools.js, i have this code:
this.html.chat_title = new Element('span', {
'id' : 'chat_title',
html : 'this is the title'
}).inject(this.html.container);
The problem is:
span id="chat_title" html="this is the title"
as you see it doesn't put the text inside the HTML of the tag but as an attribute.
What is wrong?
Thank you so much!