jQWidgets Forums

jQuery UI Widgets Forums Lists ComboBox "placeHolder" in combobox

Tagged: 

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • "placeHolder" in combobox #32386

    mallepaddi
    Participant

    Hi

    $(“#comboBoxBrand”).jqxComboBox({
    placeHolder: ‘– Please Select –‘,
    disabled : false,
    displayMember: “name” ,
    valueMember: “code”,
    source: subAdapter,
    width: ‘200px’,
    height: ’20px’,
    theme:theme,
    searchMode: ‘contains’,
    autoComplete: true
    });

    $(“#comboBoxBrand”).jqxComboBox(‘focus’);

    it works in different way between FF and IE

    in FF .. focused into “combobox” but “– Please Select” place holder appears, when the user starts giving input then it disappears.

    in IE – focused into “combobox” but “– Please Select” disappears, box appears empty to enter input.

    Thanks

    "placeHolder" in combobox #32452

    Peter Stoev
    Keymaster

    Hi mallepaddi,

    The jqxComboBox’s placeHolder property only syncs the “placeholder” attribute of the HTML Element with the property’s value. The browser handles that automatically and as browsers are different they could handle the “placeholder” attribute in a different way. In addition, there’s much difference between IE7, IE8, IE9, IE10 and IE11. Some of these do have support for the HTML5 “placeholder” attribute, but old browsers like IE7, IE8 and IE9 as far as I know do not.

    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.