Skip to content

Window.name-based transport for jQuery.Ajax with crossdomain file's uploading support

Notifications You must be signed in to change notification settings

dfilatov/jquery-wname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

jQuery-wname plugin

What's this?

It's window.name-based transport for jQuery.Ajax with crossdomain file's uploading support

How use?

$.ajax(
	'http://your-upload-url/',
	{
		files    : $('input[type=file]'),
		dataType : 'json',
		success  : function(data) {
			// files loaded
		},
		// another usual ajax options
	});

On success response must put answer in window.name as json. Response's example:

<script type="text/javascript">window.name='{"status":"ok","size":1024}';</script>

About

Window.name-based transport for jQuery.Ajax with crossdomain file's uploading support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages