Showing posts with label Ajax. Show all posts
How to load AddThis dynamically with ajax?
On page load there is no issues with AddThis widget. But when the 'Share' button is binding via ajax, then the AddThis functionality will not work. To fix this solution, use the following script.
<script type="text/javascript"> .
Working with jQuery ajax error function
By using the $.ajaxSetup() we can handle the error/exception as mentioned below:
$(function() {
$.ajaxSetup({
error: function(jqXHR, exception) {
.
How to upload file using jQuery/Ajax?
The following AJAX File Upload jQuery Tutorial covers how to upload files asynchronously using jQuery Framework.
Generic Handler: AjaxFileUploader.ashx
public class AjaxFileUploader : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
.