The .progressbar({ key: value }) syntax is only for init (once) and is
ignored after that if you use it again. To set an option after init, use the
general option method
$("div#progressbar").progressbar('option', 'value', iPercent);

or a specific method (if one exists):

$("div#progressbar").progressbar('value', iPercent);

- Richard

On Mon, Aug 10, 2009 at 5:34 PM, Aaron Kreider <[email protected]>wrote:

>
> I can initialize progressbar, but when I try to change the value it
> doesn't work.  The progressbar stays at the same stage (rougly 0.5% of
> it is filled in).
>
> I'm using 1.7.2.
>
> Initializing works:
> $("div#progressbar").progressbar({ value: 0});
>
>
> I've tried this to update the value and it doesn't work:
> $("div#progressbar").progressbar({'value': iPercent});
>
> I tried this and it gives an error
> $("div#progressbar").progressbar({'value', iPercent});
>
>
> You can see it in action:
> http://www.energyjustice.net/map-test/coalproposed.php
>
> Any ideas?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to