Jul 18, 2012, 4:04 PM
[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 :
Thank youy
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]