Provides Backward Compatible Support for the meter tag
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
jquery.meterShim.css
jquery.meterShim.js

README

HTML5 METER SHIM
By Jamund Feguson (@xjamundx)
And Rob Middleton (@rob__ot)
Mostly stolen from: https://gist.github.com/667320

Dependencies:
 - jQuery

Usage:

    // for normal stuff
    $(document).ready(function() {
        $("meter").meterShim()
    })

	// for ajax requets
    $.get("/my/fancy/meter", function(meterHtml) {
	    $(body).append(meterHtml)
	    
		// this is the only way it would work for me, bah
	    setTimeout(function() {
	        $("meter").meterShim()    
	    }, 0)
    })