You are here: Reference > JavaScript > client-side > event handling > properties > qualifier (event)

qualifier property (event)

Browser support:
Sets or retrieves the name of the default data member. Use this property with data binding events (such as ondatasetcomplete).


You can find the related objects in the Supported by objects section below.
This property is read/write.

Possible values:

String that specifies or retrieves the name of the default data member.
Default: this property has no default value.

Example HTML code 1:

This example illustrates the use of the qualifier property:
    <script type="text/javascript">
        function HandleData () {
            switch (event.reason) {
            case 0:
                alert ("Transfer is successful.");
                if (event.qualifier == "") {
                    alert ("No default data member is specified.");
                else {
                    alert ("The name of the default data member is: " + event.qualifier);
            case 1:
                alert ("Transfer is aborted.");
            case 2:
                alert ("Some error has occurred during data transfer.");
    <xml src="news.xml" ondatasetcomplete="HandleData ();"></xml>
Did you find this example helpful? yes no

Supported by objects:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content