<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Reliably Broken &#187; progressbar</title>
	<atom:link href="http://reliablybroken.com/b/tag/progressbar/feed/" rel="self" type="application/rss+xml" />
	<link>http://reliablybroken.com/b</link>
	<description>It&#039;s a blog: let&#039;s do funch!</description>
	<lastBuildDate>Sat, 04 Sep 2010 21:22:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ignore the docs, use &#8216;value&#8217; to set value in jQuery.UI.progressbar</title>
		<link>http://reliablybroken.com/b/2009/01/use-value-for-jqueryuiprogressbar/</link>
		<comments>http://reliablybroken.com/b/2009/01/use-value-for-jqueryuiprogressbar/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 20:49:48 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[progressbar]]></category>

		<guid isPermaLink="false">http://reliablybroken.com/b/?p=28</guid>
		<description><![CDATA[The online documentation for the progressbar plugin for jQuery.UI says to use &#8220;progress&#8221; as the keyword when setting the value of your progress bar, something like this:

var percent = Math.floor(data.received / data.size * 100);
$("#upload-progress").progressbar('progress', percent);


It doesn&#8217;t work. At least, it doesn&#8217;t work with the 1.6rc5 release. The correct keyword for setting the value is &#8220;value&#8221;:

var [...]]]></description>
			<content:encoded><![CDATA[<p>The online documentation for the progressbar plugin for jQuery.UI says to use &#8220;progress&#8221; as the keyword when setting the value of your progress bar, something like this:</p>

<pre><code>var percent = Math.floor(data.received / data.size * 100);
$("#upload-progress").progressbar('progress', percent);
</code></pre>

<p>It doesn&#8217;t work. At least, it doesn&#8217;t work with the 1.6rc5 release. The correct keyword for setting the value is &#8220;value&#8221;:</p>

<pre><code>var percent = Math.floor(data.received / data.size * 100);
$("#upload-progress").progressbar('value', percent);
</code></pre>

<p>The documentation doesn&#8217;t mention the default range of values for progressbar, but it is from 0 to 100. Actually the docs have all this stuff about showing custom text and the numeric value in the bar and that doesn&#8217;t seem to work neither.</p>

<p>In a way this small imperfection makes me admire jQuery even more. And this post is a kiss on her cheek.</p>

<p>I&#8217;ve filed a bug! <a href="http://ui.jquery.com/bugs/ticket/3871">#3871 on jQuery.UI&#8217;s Trac</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://reliablybroken.com/b/2009/01/use-value-for-jqueryuiprogressbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
