Expand my Community achievements bar.

How to figure it out the OBJECT type, say for drop-downs?

Avatar

Level 8

I put a drop-down object in my_form, the details are,

drop-down name = my_drop_down

data binded with my_data

caption = my_caption

For some, reason, some one has given me this objects (my_drop_down)... i want to figure it out that Whether its a drop-down type of object or a check box or a text field? How can i figure it out PROGRAMITICALLY/Java script?

2 Replies

Avatar

Level 6

see the post on the other board you are posting on

Avatar

Level 2
Level 2

Hi,

In the exit event of the field you can write the following code and once you have the name then you could refine your code accordingly;

app.alert(this.ui.oneOfChild.className);

Hope this helps,