Skip to content

Commit

Permalink
Typo fixed! maximum option added to control maximum number of file, s…
Browse files Browse the repository at this point in the history
…ome more bug fixed
  • Loading branch information
ronisaha committed Sep 30, 2013
1 parent 17d3b17 commit 8af9a48
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 86 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Key Features

Current Active Version
======================
v 3.1
v 3.2


USES
Expand Down Expand Up @@ -83,7 +83,7 @@ To pass Your Message
window.name="Your Message Here";
</script>

or To pass Full Body COntent
or To pass Full Body Content

<script>
window.name=document.documentElement.innerHTML;
Expand Down
9 changes: 5 additions & 4 deletions demo/demo.htm
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,19 @@
window.onload = function ()
{
//Example 1
rajax_obj1= new rajax('form1',
var rajax_obj1= new rajax('form1',
{
finputs:{
attachment:{
button:'button1',
multipleFile:true,
required:true,
allowedType:'image',
allowedType:'image|document',
selectedFileClass:'selectedFileClass',
selectedFileLabel:'selected_basic_file'
}
},
autoSubmit: true,
action:'post.php',
onComplete:function(response){
document.getElementById('form1').reset();
Expand All @@ -38,7 +39,7 @@
profile_pic:{
button:'image_upload',
allowedType:'image',
selectedFileLabel:'selected_img_file',
selectedFileLabel:'selected_img_file'
},
doc_attachment:{
button:'doc_upload',
Expand Down Expand Up @@ -126,7 +127,7 @@ <h1>Rajax Form Submitting with styled file input demo</h1>
<ul>
<li id="example1" class="example">
<p>You can style button as you want (Besic)</p>
<form id="form1" action="#" method="post" onSubmit="return rajax_obj1.post();">
<form id="form1" action="#" method="post">
<div class="wrapper">
<div id="button1" class="button fl">Upload</div>
</div>
Expand Down
Loading

0 comments on commit 8af9a48

Please sign in to comment.