Skip to content
Discussion options

You must be logged in to vote

Hi @prashantig25,
I don't think there's a way to do this using the plugin's existing parameters. One option is to use the trial's on_load function to access the slider element and disable it. I haven't tried this but I think you could do something like this:

var slider_trial = {
  // ...
  on_load: function () {
    var slider = document.getElementsByTagName('input')[0];
    slider.disabled = true;
  }
}

Does that work?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@prashantig25
Comment options

Answer selected by prashantig25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants