0

I am trying to use the jQuery slider plugin but it keeps giving the JavaScript error:

Uncaught Syntax error, unrecognized expression: #

Here is the script: http://www.filamentgroup.com/lab/update_jquery_ui_slider_from_a_select_element_now_with_aria_support/

You can view a demo here: [link-removed]

Any ideas?

Thanks.

1 Answer 1

2

I figured out the problem. The plugin you're using to convert the slectbox to the slider requires the selectbox to have an id attribute.

Simply add id="slider" to the selectbox and it should work.

Sign up to request clarification or add additional context in comments.

1 Comment

Removing # or href="#" seems to make no difference?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.