[CLOSED] How get combo input type in javascript?

  1. #1

    [CLOSED] How get combo input type in javascript?

    Hi,

    I would like to know, by javascript, when a controls is of type "input text" or "select".


    I've added controls dynamically (textfields and comboboxes) but combobox does not renders as "select" but one text input and one image (the arrow), like :

    <input id="Name" class="x-form-text x-form-field" type="text" name="Name" autocomplete="off" size="24" style="width: 38px;">
    <img id="ext-gen100" class="x-form-trigger x-form-arrow-trigger" src="data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==">
    Is there any way of get/know the when is a "select" control?

    Thank youy
    Last edited by Daniil; Jul 25, 2012 at 1:07 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Well, ComboBox never produces a select HTML element.
  3. #3
    hum.. ok

    Thank you
  4. #4
    Can we help with that more?

Similar Threads

  1. Change input type based on data type
    By bjones in forum 1.x Help
    Replies: 5
    Last Post: Jan 06, 2012, 9:54 AM
  2. Replies: 6
    Last Post: Mar 11, 2011, 5:30 AM
  3. ComboBox input type. And selectedItemValue
    By grmontero in forum 1.x Help
    Replies: 0
    Last Post: Sep 08, 2009, 6:23 PM
  4. [CLOSED] Type Ahead in a Combo
    By CMA in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 17, 2009, 10:54 AM
  5. Replies: 0
    Last Post: Nov 04, 2008, 11:25 AM

Posting Permissions