Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
317
Two Thums In WebSlider
posted

Hi All,

 I am using two thumps slider. I want to get both thump value at client side.... now i get single thump value from this code.

   function WrpRefresh(slider, args)
    {
         var slider=document.getElementById('wpCmsRating');      
     alert(args.get_newValue());  

}

 

Please Help me

Parents
No Data
Reply
  • 317
    posted

     

    Hi All I got answer for my query......

     function WrpRefresh(slider, args)
        {

           var slider=document.getElementById('wpCmsRating');      
           if (args.get_isSecondary()==false)
             {
              var hdn1=document.getElementById('<%= cmsValue.clientID %>')
             hdn1.value= args.get_newValue();
             }
           else
             {
             var hdn2=document.getElementById('<%= cmsSecValue.clientID %>')
             hdn2.value= args.get_newValue();
             }
           var warp = ig$('wrpFilter');
            if(warp)
            warp.refresh();       
        }

Children