Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Rangeslider copy paste not wroking #320

Open
dsiosoft opened this issue Dec 29, 2018 · 0 comments
Open

Rangeslider copy paste not wroking #320

dsiosoft opened this issue Dec 29, 2018 · 0 comments

Comments

@dsiosoft
Copy link

dsiosoft commented Dec 29, 2018

This is my code in HTML:

<input type="range" value="1" step="1" min="1" max="100" class="myRange"/>												
                                       
<div class="col-md-4 m0p20 replace add_new">
  <div class="blank_content">
    <p>Add another color from color room.</p>
  </div>
</div>

Now I am going to append range slider to another div but Its not working. The another appended rangeslider is not working.
JS:


var slider = document.getElementsByClassName("myRange")[0];
var output = document.getElementsByClassName("range-bar")[0];

output.innerHTML = slider.value+'%';

slider.oninput = function() {
  output.innerHTML = this.value+'%';
}

https://github.com/dsiosoft/accordian-dianoflex.git
This is my uploaded files of this code. check if any query.

@dsiosoft dsiosoft reopened this Dec 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant