jQupload

2012
May 05
DOWNLOAD
jQuery Uploader v0.1

LICENSE
jQupload is distributed under the terms of the MIT license

DEMONSTRATION

NEWS

  • 2010/02/16 jQupload v0.1 released.

DESCRIPTION

  • Simple form submit plugin.
  • Files can be upload through the plugin.
  • Easy to integate to your application.
  • Easy to define your own logic.
  • jQupload tested with IE6, IE7, IE8, IE9, FF3, Opera, Safari4, Google Chrome2.
  • Lightweight form uploader plugin – The source file is just 2k!
  • Free and Free of charge under the MIT License.

DOCUMENTATION

Simple way to initialize the jQupload

  1. <script type="text/javascript">
  2.    $(document).ready(function() {
  3.         //initialize jQupload object
  4.         //the simple way, use default alert message and callback
  5.         $("#my_form").jqupload();
  6.         $("#my_form").jqupload_form();
  7.    });
  8. </script>

Second way, use json object and set the message to a div/span

  1. <script type="text/javascript">
  2.    $(document).ready(function() {
  3.         //initialize jQupload object
  4.         //the simple way, use default alert message and callback
  5.         $("#my_form").jqupload({"output":"demo_message"});
  6.         $("#my_form").jqupload_form();
  7.    });
  8. </script>

Advanced way, define your own logic to handle the return message

  1. <script type="text/javascript">
  2.    $(document).ready(function() {
  3.         //initialize jQupload object
  4.         //the simple way, use default alert message and callback
  5.         $("#my_form").jqupload({"callback":"myfunc"});
  6.         $("#my_form").jqupload_form();
  7.    });
  8. </script>

Your Reply


Your Ad Here
Your Ad Here