Vasiliy Selivanov

  • RSS

NASA Scientists Make Magnetic Fields Visible

Posted on Tuesday, June 3rd, 2008

Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post

continue reading

Site with 10000 … sheeps hm :)

Posted on Tuesday, April 1st, 2008

www.thesheepmarket.com site where you could see how people draw sheep. So what you need it just select on of the 10000 sheeps and enjoy Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post

continue reading

Google 10th Birthday

Posted on Thursday, September 25th, 2008

New google page www.google.com/tenthbirthday/ On this page you could find Google Timeline. Some facts : When Larry met Sergey  – Summer 1995 Google in 10 languages – 9 May 2000 Search index: 1 billion pages – 26 June 2000 Google Image Search – 28 July 2001 Google Chrome browser – 1 September 2008 Project 10100 [...]

continue reading

Multiple File Upload plugin for jQuery and Cancel button

Posted on Thursday, November 20th, 2008

QuocKien here ask me to help him with Multiple File Upload plugin and cancel button

This the most easy way I think

it’s this simple js code (cancel button will work for second multi input file)

1
2
3
4
5
6
7
8
9
10
$(document).ready(function(){
        $(‘.multi).MultiFile();
        $(‘.multi2).MultiFile();
       
         $("#cancel_but").click(function() {
            $(".multi2").parent().find(‘span a’).each(function() {
                $(this).click();
            });
        })
});

where is .multi2 – it’s selector of your multi file input
simple html

1
2
3
<input type="file" class="multi" />
<input type="file" class="multi2" />
<input type="button" value="cancel" id="cancel_but" />

 

I hope this help

Posted in: JavaScript, jQuery.

  • http://www.qsoftvietnam.com QuocKien

    Hi,

    Thanks millions for your help. It works great and very surprised that the code is short. Thanks again.

    Cheers.
    Kien