Jquery Toggle Stop Working Once Asp.Net Button Clicked

  I was working with Asp.Net 4.0 and suddenly got a problem that my Jquery toggle code doesn't work once i click the button. i searched over internet and found the following solution. It works for me perfectly.




  function pageLoad() {
            $(function () {
                $(document.getElementById('<%=btnAdd.ClientID%>')).click(function () {
                    $("#AddVideo").slideToggle("slow");
                });
            });
        }

Comments

Popular Posts

GREYCstoration Oil Paint plugin for Photoshop

Service Bus Gateway service stuck at Starting

PowerApps SubmitForm not clearing People Picker value

Apple iPhone sending SMS automatically 00447786205094

Download file failed signature verification and may have been tampered with - Workflow Manger 1.0 Refresh (CU2)