jQuery UI Widgets Forums General Discussions Syntax for Event Handling

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 9 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Syntax for Event Handling #69513

    saravanan
    Participant

    Hi
    I have doubt in following syntax,,however it works perfectly…
    please guide me.

    $("#divGradeTab").jqxTabs({ height: '100%', width: '100%'});
        $("#divGradeTab").on('selected', function (event) {
            if (event.args) {            
            }
    });

    i want to merge the code some thing like that.
    $(“#divGradeTab”).jqxTabs({
    height: ‘100%’,
    width: ‘100%’,
    “onselected”:function(e)
    {
    if(e.args)
    {

    }
    }
    })

    How to do it..

    Thanks
    Saravanan

    Syntax for Event Handling #69514

    Peter Stoev
    Keymaster

    Hi Saravanan,

    Each widget has API reference documentation where it is explained how to bind to Events. There are also examples about each event.

    Best Regards,
    Peter Stoev

    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.