Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Unable to pragmatically initiate rangeslider #6644

Closed
gcoop opened this Issue · 5 comments

5 participants

@gcoop

Unable to initiate the rangeslider independently of page creation using the slider construct.

http://jsfiddle.net/dWnnL/1/

Following error occurs Uncaught TypeError: Cannot read property 'slider' of undefined

@jesperveldhuizen

Try something like this:

$('<form><div id="slider" data-role="rangeslider"><label for="range-1a">Rangeslider:</label><input name="range-1a" id="range-1a" min="0" max="100" value="40" type="range"><label for="range-1b">Rangeslider:</label><input name="range-1b" id="range-1b" min="0" max="100" value="80" type="range"></div></form>').appendTo('.ui-page').trigger('create');

Fiddle: http://jsfiddle.net/dWnnL/2/

@gcoop

Bingo, thanks @jesperveldhuizen that get's around the problem :)

@bgyhnddr

Problem will show in jquerymobile1.3

@Ruffio

Can't this be closed? There is no issue here as far as I can tell.

@arschmitz
Owner

@Ruffio yes this was fixed and the issue never updated closoing

@arschmitz arschmitz closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.