All jQuery UI plugins get a ui-{pluginname} class[*]. So you can use that
class to find that element again:
lower = $(".ui-slider").slider("option", "min");

If there are more than one, this will get the min from the first.

- Richard

[*] This is a general rule, with exceptions. For example, the element on
which you call .dialog() gets a class of ui-dialog-content and is wrapped in
a generated element with the ui-dialog class.

On Mon, Aug 3, 2009 at 1:34 AM, Kevin <[email protected]> wrote:

>
> Is there anyway to access the jQuery UI slider namespace without
> knowing the div that it was initialized over?  For example, I would
> like to type something like:
>
> lower = magicalSliderNameSpace.slider("option", "min");
>
> instead of:
>
> lower = $("#slider-range").slider("option", "min");
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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