jQWidgets Forums

jQuery UI Widgets Forums Lists ComboBox jxxcombo align with jqxinput

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jxxcombo align with jqxinput #28016

    tamaraOnt
    Member

    I have the following code, and I don’t know, but the jqxcombo and the jqxinput are not align, could you help me?

    <script type="text/javascript">
    $(document).ready(function () {
    var source = new Array();
    source[0] = {id: 1, name: 'NIF', label: 'NIF', value: 1};
    source[1] = {id: 2, name: 'NIE', label: 'NIE', value: 2};
    $("#nif_nieC").jqxComboBox({ source: source, selectedIndex: 0, width: '124', autoDropDownHeight: true,theme: 'ui-redmond' });
    $("#nif_nie").jqxInput({height: 25, width: 200 });
    });
    </script>
    <div id="personalInformation">
    <div id="nif_nieC" style="display: inline-block;"></div>
    <input type="text" id="nif_nie" name="nif_nie" autocomplete="false" >
    </div>

    Thanks in advance

    jxxcombo align with jqxinput #28020

    Dimitar
    Participant

    Hello tamaraOnt,

    Here is how you need to change your HTML:

    <div id="personalInformation">
    <div id="nif_nieC" style="float: left; margin-right: 5px;">
    </div>
    <input type="text" id="nif_nie" name="nif_nie" autocomplete="false" />
    </div>

    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.