I need the jQuery event to be fired by pressing an ASP.NET C # button. The following code example, taken from my project, in which instead of document.write('Passed')
I need the C # button to press, even if it needs to be done. How can I do that?
Sample code that clicks Button1_Click
instead of document.write
$("#slider").draggable({ axis: 'x', containment: 'parent', drag: function(event, ui) { if (ui.position.left > 550) { document.write('Passed'); $("#well").fadeOut(); } else { } }
source share