Accessing Acutal Dropdown Object in Jquery

1 posts, 0 answers
  1. saad
    saad avatar
    19 posts
    Member since:
    Nov 2010

    Posted 17 May 2012 Link to this post

    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>


Back to Top