This is a migrated thread and some comments may be shown as answers.

Accessing Acutal Dropdown Object in Jquery

0 Answers 67 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
saad
Top achievements
Rank 1
saad asked on 17 May 2012, 03:36 PM
Hello Kendo Team,
I am using putting a value in dropdownlist lang attribute I want to access it in Select Function but not getting anything which
can help me

please reply me asap
your help will be appreciated

Regards Saad
<script type="text/javascript">
  jQuery(function(){
             jQuery('.kendo-ddl-Task').kendoDropDownList({
                select: function (e) {
                    xTaskStatusDdl_change(e);
                }
             
            });
});
function xTaskStatusDdl_change(e) {           
            var selectedValue = e.item.index();
           //Trying to access parent but this is not working
           //alert(jQuery(this).parent().html());
 
        }
</script>
<asp:Repeater ID="rptPastDueTask" runat="server">
                                    <ItemTemplate>
                                                                                    
                                                    <asp:DropDownList ID="xTaskStatusDdl" runat="server" lang='<%# DataBinder.Eval(Container.DataItem, "XTaskID")%>'
                                                            CssClass="xTaskStatusDdl kendo-ddl-Task">
                                                    </asp:DropDownList>                                                   
                                                     
                                    </ItemTemplate>
                                </asp:Repeater>


No answers yet. Maybe you can help?

Tags
DropDownList
Asked by
saad
Top achievements
Rank 1
Share this question
or