Html Button In Asp.net
i am using html in asp page where i have to use html button. but the problem is i want to do the coding on html button in c#. but by using html button i cant do that.. is there any
Solution 1:
You could use jQuery to call a .net WebService to do stuff on the server deepending on what you want to achieve.
Solution 2:
Make AJAX request like this :
$('#Button').click(function() {
$.ajax( {
type:'Get',
url:'http://mysite.com/mywebservice',
success:function(data) {
alert(data);
}
})
});
Post a Comment for "Html Button In Asp.net"