jQWidgets Forums

jQuery UI Widgets Forums Editors Button, RepeatButton, ToggleButton, LinkButton Button click change to processing image

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 11 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Button click change to processing image #49591

    mallepaddi
    Participant

    HI

    When the user clicks on a button it should show “processing” image and then should retain original image when it loads data into grid,

    Every thing working fine but user can still able to click on “processing” image even when i set “disabled:true.

    <div id=’Search’ style=’float:left;background:#FFFFFF;’></div>
    $(“#Search”).jqxButton( { width : ’60’,height : ’20’,theme : theme,roundedCorners : ‘all’});

    $(“#Search”).click(function(e){
    $(“#Search”).jqxButton({ disabled: true});
    $(‘#SearchImage’).prop(‘src’,’/images/circular.gif’);

    loading data …
    });

    $(‘#grid’).on(‘bindingcomplete’, function (event) {
    $(“#Search”).jqxButton({ disabled: false});
    $(‘#rSearchImage’).prop(‘src’,’/images/search.gif’);
    });

    Somehow user able to click on “Proceesing” image which generates another ajax request, why disabled:true not working here.

    Thanks

    Button click change to processing image #49611

    Dimitar
    Participant

    Hello mallepaddi,

    Please provide us with both your HTML and JavaScript code and remember to format it by selecting it and clicking on the code button from the toolbar.

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.