jQuery UI Widgets Forums Editors ScrollBar, Slider, BulletChart, RangeSelector jqxSlider fires mulitple events

This topic contains 4 replies, has 2 voices, and was last updated by  Jason F 10 years, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • jqxSlider fires mulitple events #59345

    Jason F
    Participant

    Hello,

    I am using jqxSlider in a webapp. The first time I click it I see the on.click event fire once. Then when I navigate to a different tab on the page and come back, then click on the slider again, it fires two events….then three, then four and so on.

    I tried adding stopPropagation / return false, as I saw suggested on Stack Overflow, but that didn’t help. My webapp works well, but I want to get rid of any unnecessary work. Any ideas about this? Thanks! // Jason

    jqxSlider fires mulitple events #59351

    Dimitar
    Participant

    Hello Jason F,

    Would you be able to reproduce this issue in a JSFiddle example for us to test?

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    jqxSlider fires mulitple events #59383

    Jason F
    Participant

    I can try, but it may be hard to fully replicate, as we are using the slider to call up internal map services…is the type of behavior I am describing anything you have encountered before?

    jqxSlider fires mulitple events #59417

    Dimitar
    Participant

    Hi Jason F,

    It is possible that you are binding multiple times to the click event which leads to multiple calls of the event handler.

    Please also note that there are events in jqxSlider’s API that may be more suitable in your situation and cause no conflicts in your application.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    jqxSlider fires mulitple events #59434

    Jason F
    Participant

    OK thanks, I will look into it further.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.