title: Using Slider jquery with CreateElement
body: <p>I made images array with jquery like this.</p>
  
  <pre><code>        var images = [ '/image/01.jpg', '/images/02.jpg', 'images/03.jpg' ];
  
          function buildImages() {
              // the container
              var container = document.getElementById('mimages');
              var imgList = document.createElement('ul');
              imgList.className = 'mobile-slider';
  
              for (var i = 0; i &lt; images.length; i++) {
  
                  // create the image element
                  var imgListItem = document.createElement('li');
                  var imageElement = document.createElement('img');
                  imageElement.setAttribute('src', images[i]);
                  // append the element to the container
  
                  document.getElementById("mimages").appendChild(imgList).appendChild(imgListItem).appendChild(imageElement);
              }
          }
  
          // run the script here.
          buildImages();
  </code></pre>
  
  <p>Then I want to make slide with Bxslider. So I put this code.</p>
  
  <pre><code>             $('.mobile-slider').bxSlider({
                  mode: 'horizontal',
                  speed: 800,
                  auto: true
              });
  </code></pre>
  
  <p>But, unfortunately it doesn't work. I don't know how to fix it. please help me. :(</p>