tomb<blog>

musings from the dark side

Apr 05, 2010

Mootools bug with the HTML5 meter tag

Apr 05, 2010

If you are wondering why this does not work:

var v1 = $('metertag').get('value');

on the new HTML5 <meter>  tag you are not alone.

This works so no biggy:

var v1 = $('metertag').getAttribute('value');

I'd inform the mootools crowd but I hate them.

Note: For some reason this works in IE8. Not google chrome, firefox, opera or safari (latest builds). Without the shiv. Weird.

Comments

Write your comment:

(it will not be displayed)
Leave this field empty:

 
Powered by Mango Blog All Content and Media © Copyright MMX
Tomb Multimedia Productions Ltd
All Rights Reserved