This topic contains 5 replies, has 2 voices, and was last updated by  pepe 7 years, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Buttons with images disabled #85983

    pepe
    Participant

    Goodnight.
    Buttons with images disabled ignore the click event . It is right?

    <!DOCTYPE html>
    <html lang=”en”>
    <head>
    <title>jQuery Button Sample1</title>
    <link rel=”stylesheet” href=”../../jqwidgets/styles/jqx.base.css” type=”text/css” />
    <meta name=”keywords” content=”jQuery, Button, Toggle Button, Repeat Button, Link Button, Help Documentation” />
    <script type=”text/javascript” src=”../../scripts/jquery-1.11.1.min.js”></script>
    <script type=”text/javascript” src=”../../jqwidgets/jqxcore.js”></script>
    <script type=”text/javascript” src=”../../jqwidgets/jqxbuttons.js”></script>
    </head>
    <body class=’default’>
    <div id=’content’>
    <script type=”text/javascript”>
    $(document).ready(function () {

    $(“#jqxButton”).jqxButton({
    width: ‘100’,
    height: ’50’,
    disabled: true,
    imgSrc: ‘../../images/andrew.png’
    imgWidth: 25,
    imgHeight: 25,

    });

    $(“#jqxButton”).on(‘click’, function () {
    alert(‘Button Clicked’);
    });

    });
    </script>

    <div style=’width: 150px;’ id=’jqxWidget’>
    <div>
    <input type=”button” id=’jqxButton’ />
    </div>
    </div>
    </div>
    </body>
    </html>

    Buttons with images disabled #85994

    Dimitar
    Participant

    Hello pepe,

    Your code’s syntax is incorrect – you are missing a comma after imgSrc: '../../images/andrew.png'. Aside from that, if a button is disabled, its click event should not be triggered. However, currently the event will be fired if the button image is clicked. We have created a work item for this issue and will try to fix it in a future version of jQWidgets.

    Best Regards,
    Dimitar

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

    Buttons with images disabled #86034

    pepe
    Participant

    Dimitar thank you very much .
    a greeting

    Buttons with images disabled #92465

    pepe
    Participant

    For when the solution to this problem?
    a greeting

    Buttons with images disabled #92482

    Dimitar
    Participant

    Hello pepe,

    Unfortunately, this issue has not yet been resolved and we cannot provide you with an ETA of the fix for it. We are sorry for the inconvenience.

    Best Regards,
    Dimitar

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

    Buttons with images disabled #92535

    pepe
    Participant

    VERY WELL, THANKS

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

You must be logged in to reply to this topic.