title: Object in next result set of Jscroll doenot bind to javascript
body: <p>I have implemented jquery jscroll on first page load all data is showing perfectly with the perfect respective animation but on 2nd data set animations are not working. What I am doing is i have made a partial page which loads all time the data set comes and set all javascript in main page.</p>
  
  <p>This is my MainPage code</p>
  
  <pre><code>&lt;script src="~/Content/JavaScript/Caption.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      $(window).load(function () {
          //for each description div...
          $('div.description').each(function () {
              //...set the opacity to 0...
              $(this).css('opacity', 0);
              //..set width same as the image...
              $(this).css('width', $(this).siblings('img').width());
              //...get the parent (the wrapper) and set it's width same as the image width... '
              $(this).parent().css('width', $(this).siblings('img').width());
              //...set the display to block
              $(this).css('display', 'block');
          });
  
          $('div.wrapper').hover(function () {
              //when mouse hover over the wrapper div
              //get it's children elements with class descriptio
              //and show it using fadeTo
              $(this).children('.description').stop().fadeTo(500, 0.7);
          }, function () {
              //when mouse out of the wrapper div
              //use fadeTo to hide the div
              $(this).children('.description').stop().fadeTo(500, 0);
          });
  
      });
  
  &lt;/script&gt;
  &lt;style&gt;
      div.wrapper {
          position: relative; /* important(so we can absolutely position the description div */
      }
  
      div.description {
          position: absolute; /* absolute position (so we can position it where we want)*/
          bottom: 0px; /* position will be on bottom */
          left: 0px;
          width: 100%;
          display: none; /* hide it */
          /* styling bellow */
          background-color: black;
          font-family: 'tahoma';
          font-size: 15px;
          color: white;
      }
  
      div.description_content {
          padding: 10px;
      }
  &lt;/style&gt;
  
  
  
  &lt;div class="row"&gt;
  
          &lt;div class="scroll"&gt;
              @Html.Partial("_Products")
          &lt;/div&gt;
  
      &lt;/div&gt; &lt;!-- .main-content --&gt;
  
  &lt;script src="~/Content/JavaScript/jquery.js"&gt;&lt;/script&gt;
  &lt;script src="~/Content/JavaScript/jqueryui/jquery-ui-1.10.4.custom.min.js"&gt;&lt;/script&gt;
  &lt;script src="~/Content/JavaScript/jquery.jscroll.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      var i = 0;
  
      //Get Value From Query String
      function getParameterByName(name) {
          name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
          var regex = new RegExp("[\\?&amp;]" + name + "=([^&amp;#]*)"),
              results = regex.exec(location.search);
          return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
      }
      function Filter() {
          var goto = updateTextArea();
          var addpricerangefilter = UpdateQueryString("price_range", document.getElementById('PriceRangeFrom').value +'-'+ document.getElementById('PriceRangeTo').value, goto)
          window.location = addpricerangefilter
      }
      $(function () {
          $('.scroll').jscroll({
              debug: true,
              autoTrigger: false
          });
      });
  
  &lt;/script&gt;
  </code></pre>
  
  <p>Partial Page</p>
  
  <pre><code>@Code
      Dim i As Integer = 1
      Dim CurrencyCODE As String = "INR"
      Dim CurrencyRATE As String = 1
      Try
          CurrencyCODE = Request.Cookies("currency_code").Value.ToString
          CurrencyRATE = Val(Request.Cookies("currency_rate").Value.ToString)
      Catch ex As Exception
      End Try
  End Code
      @For Each AllProducts In ViewBag.lstProducts
          @&lt;div class="col-sm-4"&gt;
              &lt;div class="single-item"&gt;
                  @If AllProducts.ItemTag &lt;&gt; "" Then
                      @&lt;div class="ribbon-wrapper"&gt;&lt;div style="background-color:@AllProducts.ItemTagColor;" class="ribbon"&gt;@AllProducts.ItemTag&lt;/div&gt;&lt;/div&gt;
                  End If
                  &lt;div class="single-item-header wrapper"&gt;
                      @Code
                          Dim ImagePath = AllProducts.SKUID &amp;"00.jpg"
                      End Code
                      &lt;a href="/SingleProduct/Index?sku_code=@AllProducts.SKUID"&gt;&lt;img src="/Content/Images/ProductImage/@ImagePath" class="image270320" alt="@AllProducts.ItemShortDesc"&gt;&lt;/a&gt;
                      &lt;div class="description"&gt;
                          &lt;div class="description_content"&gt;
                                  @AllProducts.ItemShortDesc
                              &lt;a class="add-to-cart pull-right auto-width-right" href="#" onclick="AddToCart('@AllProducts.SKUID','1')"&gt;&lt;i class="fa fa-shopping-cart shopcart"&gt;&lt;/i&gt;&lt;/a&gt;
                              &lt;a class="add-to-cart pull-right auto-width-right" href="#" onclick="AddToWishList('@AllProducts.SKUID')"&gt;&lt;i class="fa fa-heart favorlist"&gt;&lt;/i&gt;&lt;/a&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class="single-item-body"&gt;
                      &lt;p class="single-item-title"&gt;
                          @AllProducts.SKUID
                      &lt;/p&gt;
                      &lt;p class="single-item-price"&gt;
                          @If AllProducts.ItemDiscountedPrice &lt;&gt; "0" And AllProducts.ItemDiscountedPrice &lt;&gt; "" Then
                              @&lt;span class="flash-del"&gt;@CurrencyCODE @Math.Round(CurrencyRATE * AllProducts.ItemOrignalPrice, 2, MidpointRounding.AwayFromZero)&lt;/span&gt;
                              @&lt;span class="flash-sale"&gt;@CurrencyCODE @Math.Round(CurrencyRATE * AllProducts.ItemDiscountedPrice, 2, MidpointRounding.AwayFromZero)&lt;/span&gt;
                          Else
                              @&lt;span&gt;@CurrencyCODE @Math.Round(CurrencyRATE * AllProducts.ItemOrignalPrice, 2, MidpointRounding.AwayFromZero)&lt;/span&gt;
                          End If
  
                      &lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="clearfix"&gt;&lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          If i = 3 Then
              @&lt;div class="space40"&gt;&amp;nbsp;&lt;/div&gt;
              i=0
          End If
          i = i + 1
      Next
  @If ViewBag.lstProducts.Count &gt; 0 Then
  @&lt;div style="position:absolute;bottom:0px;height :5px;margin-top :5px;padding-left:400px"&gt;
       &lt;a href="/Product/PartialViewData?category_id=@Request.QueryString("category_id")&amp;order_by=@Request.QueryString("order_by")&amp;group_name=@Request.QueryString("group_name")&amp;page_no=@ViewBag.PageNo&amp;detail_id=@Request.QueryString("detail_id")&amp;price_range=@Request.QueryString("price_range")&amp;sku=@Request.QueryString("sku")"&gt;Load More Products...&lt;/a&gt;
  &lt;/div&gt;
  Else
  @&lt;div style="position:absolute;bottom:0px;height :5px;margin-top :5px;padding-left:400px"&gt;
      Oops we are at the end of product list!!!
  &lt;/div&gt;
  End If
  </code></pre>
  
  <p>What I try is copying all scripts in partial page but it won't work</p>