locked
Jquery to enable asp.net Button RRS feed

  • Question

  • User2033107836 posted

    Hello

    I need jquery code to send my selected dropdownlist value to selectindex=0;

    how to do using asp.net Jquery

    Wednesday, January 17, 2018 3:40 PM

Answers

  • User475983607 posted

    asp.ambur

    Hello

    I need jquery code to send my selected dropdownlist value to selectindex=0;

    how to do using asp.net Jquery

    See the jQuery selector documentation as suggested in your other threads with the same subject. 

    https://api.jquery.com/category/selectors/

    Basically, for an Id use

    $('#MyId').val(0);

    For a class use

    $('.MyClass').val(0);

    For an Id auto generated by ASP.NET Web Forms

    $('#<%=MyId.ClientID%>').val(0);

    By the way, you've asked this question many many times, including once today.  

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 17, 2018 3:54 PM

All replies

  • User475983607 posted

    asp.ambur

    Hello

    I need jquery code to send my selected dropdownlist value to selectindex=0;

    how to do using asp.net Jquery

    See the jQuery selector documentation as suggested in your other threads with the same subject. 

    https://api.jquery.com/category/selectors/

    Basically, for an Id use

    $('#MyId').val(0);

    For a class use

    $('.MyClass').val(0);

    For an Id auto generated by ASP.NET Web Forms

    $('#<%=MyId.ClientID%>').val(0);

    By the way, you've asked this question many many times, including once today.  

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 17, 2018 3:54 PM
  • User2033107836 posted

    Thank You mgebhard

    Wednesday, January 17, 2018 3:59 PM