AlexanderPlotzker
New Member
first of all forgive me my poor english it's not my lang.I am trying to work with ajax as follows:I created a webservice and a web page that calls to a method in the webservice.I am trying to call the service like this:\[code\]<button onclick="run()" formmethod="post">Sample</button>\[/code\]The problem is that if this button is inside the form, it doesn't work because it posts back. If the button is outside of the form it works. How can I put this button inside the form and still have it call the web service?